CVE-2017-7485
Reported by redhat · Published May 12, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql-libs | Arch Linux | 9.6.3-1 |
| postgresql15 | Alpine | 9.6.3-r0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The PostgreSQL Global Development Group | PostgreSQL | 9.3 - 9.6 |
| arch | postgresql-libs | 0 |
| alpine | postgresql15 | 0 |
| The PostgreSQL Global Development Group | PostgreSQL | 9.3 |
| alpine | postgresql | 0, 0, 0 |
| alpine | postgresql14 | 0 |
Timeline
- May 12, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 27, 2025 CVE Updated
- Jun 1, 2026 Security Advisory (8 in total, the first dated here)
- Jul 17, 2026 Distribution Patch (6 in total, the first dated here)
- Sep 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-7485
vulnetix vdb fixes CVE-2017-7485
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-7485/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 1038476 vdb-entryx_refsource_SECTRACK
- DSA-3851 vendor-advisoryx_refsource_DEBIAN
- RHSA-2017:2425 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1678 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:1677 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2017:1838 vendor-advisoryx_refsource_REDHAT
- 98461 vdb-entryx_refsource_BID
- GLSA-201710-06 vendor-advisoryx_refsource_GENTOO