Missing Encryption of Sensitive Data Affecting postgresql95-static package, versions <0:9.5.7-1.72.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.5% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Encryption of Sensitive Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-POSTGRESQL95STATIC-1706864
  • published27 Sept 2021
  • disclosed12 May 2017

Introduced: 12 May 2017

CVE-2017-7485  (opens in a new tab)
CWE-311  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 postgresql95-static to version 0:9.5.7-1.72.amzn1 or higher.
This issue was patched in ALAS-2017-839.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql95-static package and not the postgresql95-static package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

In PostgreSQL 9.3.x before 9.3.17, 9.4.x before 9.4.12, 9.5.x before 9.5.7, and 9.6.x before 9.6.3, it was found that the PGREQUIRESSL environment variable was no longer enforcing a SSL/TLS connection to a PostgreSQL server. An active Man-in-the-Middle attacker could use this flaw to strip the SSL/TLS protection from a connection between a client and a server.