CVE-2017-7485
publishedpostgresql: libpq ignores PGREQUIRESSL environment variable
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The PostgreSQL Global Development Group | — | PostgreSQL9.3 - 9.6 | Affected | Not stated | redhat |
| Alpine Linux | v3.10 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Debian | jessie | postgresql-9.4 | Advisory build | 9.4.12-0+deb8u1 | DSA-3851-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresqlsrc | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| SUSE / openSUSE | SLE-11-SP4 | postgresql94-develi586 | Advisory build | 9.4.12-0.22.3 | SUSE-SU-2017:1783-1 |
| Alpine Linux | v3.11 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.12 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql15 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql14 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql15 | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.3 | postgresql | Fixed | 9.4.12-r0 | Package fix record |
| Alpine Linux | v3.4 | postgresql | Fixed | 9.5.7-r0 | Package fix record |
| Alpine Linux | v3.5 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.6 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.7 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.8 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Alpine Linux | v3.9 | postgresql | Fixed | 9.6.3-r0 | Package fix record |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresqlx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-contribx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-debuginfox86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-develx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-docsx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-libsx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-plperlx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-plpythonx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-pltclx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-serverx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-staticx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-testx86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql94-postgresql-upgradex86_64 | Advisory build | 9.4.12-1.el6 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresqlsrc | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresqlx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-contribx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-debuginfox86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-develx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-docsx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-libsx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-plperlx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-plpythonx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-pltclx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-serverx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-staticx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-testx86_64 | Advisory build | 9.5.7-2.el6 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresqlsrc | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresqlx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-contribx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-debuginfox86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-develx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-docsx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-libsx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-plperlx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-plpythonx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-pltclx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-serverx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-staticx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-testx86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql94-postgresql-upgradex86_64 | Advisory build | 9.4.12-1.el7 | RHSA-2017:1678 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresqlsrc | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresqlx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-contribx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-debuginfox86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-develx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-docsx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-libsx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-plperlx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-plpythonx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-pltclx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-serverx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-staticx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| Red Hat Enterprise Linux | RHEL-7 | rh-postgresql95-postgresql-testx86_64 | Advisory build | 9.5.7-2.el7 | RHSA-2017:1677 |
| SUSE / openSUSE | SLE-11-SP4 | postgresql94-develia64 | Advisory build | 9.4.12-0.22.3 | SUSE-SU-2017:1783-1 |
| SUSE / openSUSE | SLE-11-SP4 | postgresql94-develppc64 | Advisory build | 9.4.12-0.22.3 | SUSE-SU-2017:1783-1 |
| SUSE / openSUSE | SLE-11-SP4 | postgresql94-devels390x | Advisory build | 9.4.12-0.22.3 | SUSE-SU-2017:1783-1 |
| SUSE / openSUSE | SLE-11-SP4 | postgresql94-develx86_64 | Advisory build | 9.4.12-0.22.3 | SUSE-SU-2017:1783-1 |
| SUSE / openSUSE | SLE-12 | postgresql93ppc64le | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93s390x | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93x86_64 | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93-contribppc64le | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93-contribs390x | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93-contribx86_64 | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93-docsnoarch | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93-serverppc64le | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93-servers390x | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12 | postgresql93-serverx86_64 | Advisory build | 9.3.17-24.2 | SUSE-SU-2017:1441-1 |
| SUSE / openSUSE | SLE-12-SP2 | postgresql94aarch64 | Advisory build | 9.4.12-20.1 | SUSE-SU-2017:1690-1 |
| SUSE / openSUSE | SLE-12-SP2 | postgresql94ppc64le | Advisory build | 9.4.12-20.1 | SUSE-SU-2017:1690-1 |
| SUSE / openSUSE | SLE-12-SP2 | postgresql94s390x | Advisory build | 9.4.12-20.1 | SUSE-SU-2017:1690-1 |
| SUSE / openSUSE | SLE-12-SP2 | postgresql94x86_64 | Advisory build | 9.4.12-20.1 | SUSE-SU-2017:1690-1 |
| SUSE / openSUSE | SLE-12-SP2 | postgresql94-contribaarch64 | Advisory build | 9.4.12-20.1 | SUSE-SU-2017:1690-1 |
| SUSE / openSUSE | SLE-12-SP2 | postgresql94-contribppc64le | Advisory build | 9.4.12-20.1 | SUSE-SU-2017:1690-1 |
| SUSE / openSUSE | SLE-12-SP2 | postgresql94-contribs390x | Advisory build | 9.4.12-20.1 | SUSE-SU-2017:1690-1 |
| SUSE / openSUSE | SLE-12-SP2 | postgresql94-contribx86_64 | Advisory build | 9.4.12-20.1 | SUSE-SU-2017:1690-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The PostgreSQL Global Development Group | PostgreSQL | 9.3 - 9.6 (affected) | redhat · cna |
Weaknesses
1- CWE-390
References
9- DSA-3851 http://www.debian.org/security/2017/dsa-3851
- 98461 http://www.securityfocus.com/bid/98461
- 1038476 http://www.securitytracker.com/id/1038476
- RHSA-2017:1677 https://access.redhat.com/errata/RHSA-2017:1677
- RHSA-2017:1678 https://access.redhat.com/errata/RHSA-2017:1678
- RHSA-2017:1838 https://access.redhat.com/errata/RHSA-2017:1838
- RHSA-2017:2425 https://access.redhat.com/errata/RHSA-2017:2425
- GLSA-201710-06 https://security.gentoo.org/glsa/201710-06
- https://www.postgresql.org/about/news/1746/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cb42025c78a6d9e78616ccea1687e55f5643c37cbfe9f05fc64dbbc952ed8db5
- Ingested
- 23 Sep 2026, 07:42:53 UTC
- Source record
- Official CVE record