CVEfocus › CVE database › CVE-2017-7485

CVE-2017-7485

CVSS 5.9 MediumEPSS 2.0% (higher than 82% of CVEs)Published 2017-05-12Updated 2024-08-05Assigner: redhat

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.

CWE-390

What to do

Fixed builds are available from Alpine, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed
25Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04postgresql-9.5Fixed9.5.7-0ubuntu0.16.04UBUNTU-CVE-2017-7485
Ubuntu 14.04postgresql-9.1Not affected
vulnerable_code_not_present
Ubuntu 14.04postgresql-9.3Fixed9.3.17-0ubuntu0.14.04UBUNTU-CVE-2017-7485
Red Hat Enterprise Linux 7postgresqlNot affected
Red Hat Enterprise Linux 7postgresql-contribNot affected
Red Hat Enterprise Linux 7postgresql-develNot affected
Red Hat Enterprise Linux 7postgresql-docsNot affected
Red Hat Enterprise Linux 7postgresql-libsNot affected
Red Hat Enterprise Linux 7postgresql-plperlNot affected
Red Hat Enterprise Linux 7postgresql-plpythonNot affected
Red Hat Enterprise Linux 7postgresql-pltclNot affected
Red Hat Enterprise Linux 7postgresql-serverNot affected
Red Hat Enterprise Linux 7postgresql-staticNot affected
Red Hat Enterprise Linux 7postgresql-testNot affected
Red Hat Enterprise Linux 7postgresql-upgradeNot affected
Red Hat Enterprise Linux 6postgresqlNot affected
Red Hat Enterprise Linux 6postgresql-contribNot affected
Red Hat Enterprise Linux 6postgresql-develNot affected
Red Hat Enterprise Linux 6postgresql-docsNot affected
Red Hat Enterprise Linux 6postgresql-libsNot affected
Red Hat Enterprise Linux 6postgresql-plperlNot affected
Red Hat Enterprise Linux 6postgresql-plpythonNot affected
Red Hat Enterprise Linux 6postgresql-pltclNot affected
Red Hat Enterprise Linux 6postgresql-serverNot affected
Red Hat Enterprise Linux 6postgresql-testNot affected
Red Hat Enterprise Linux 5postgresqlNot affected
Red Hat Enterprise Linux 5postgresql84Not affected
Alpine Linux 3.20postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.20postgresql15Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.19postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.19postgresql15Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.18postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.18postgresql15Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.17postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.17postgresql15Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.16postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.15postgresql14Fixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.14postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.13postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.12postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.11postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.10postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.9postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.8postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.7postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.6postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.5postgresqlFixed9.6.3-r0ALPINE-CVE-2017-7485
Alpine Linux 3.4postgresqlFixed9.5.7-r0ALPINE-CVE-2017-7485
Alpine Linux 3.3postgresqlFixed9.4.12-r0ALPINE-CVE-2017-7485

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.