CVE-2017-7485

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.

Published: 2017-05-12 Last update: 2026-05-13 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2017-7485 is rated Moderate Risk (51.2/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.11%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2017-7485

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-30 0.93% 1.11% +0.18%
2 2026-05-08 0.73% 0.93% +0.20%
3 2026-01-28 0.73%

Full EPSS history (23 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2017-7485

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.9 3.0 MEDIUM
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.2 3.6 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2017-7485

OS Trackers for CVE-2017-7485

vendor priority summary link
alpine CVE-2017-7485: 3 source package rows (postgresql, postgresql14, postgresql15); 16 state rows across 11 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-community, 3.19-main, 3.20-community, 3.20-main, edge-community, edge-main); fixed 16, open 0. https://security.alpinelinux.org/vuln/CVE-2017-7485
gentoo normal CVE-2017-7485: 1 GLSA(s) (201710-06), 1 atom(s) (dev-db/postgresql); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2017-7485
redhat medium https://access.redhat.com/security/cve/CVE-2017-7485
suse medium CVE-2017-7485 severity moderate: SUSE including 48 source package names (libecpg6-10.10-1.15.1, libecpg6-10.5-1.3.1, …), 110 product×package rows across 24 product lines (SUSE Linux Enterprise Desktop 12 SP2, SUSE Linux Enterprise Desktop 12 SP3, … (24 product lines)): Fixed 110. https://www.suse.com/security/cve/CVE-2017-7485/
ubuntu low CVE-2017-7485 low priority: Ubuntu including 4 source packages (postgresql-9.1, postgresql-9.3, postgresql-9.5, postgresql-9.6), 24 status rows across 6 suites (artful, trusty, upstream, xenial, yakkety, zesty): DNE 15, released 5, not-affected 2, ignored 1, needed 1. https://ubuntu.com/security/CVE-2017-7485

Affected software / configurations for CVE-2017-7485

Vendor Product Version Raw CPE
postgresql postgresql 9.3 cpe:2.3:a:postgresql:postgresql:9.3:*:*:*:*:*:*:*
postgresql postgresql 9.3.1 cpe:2.3:a:postgresql:postgresql:9.3.1:*:*:*:*:*:*:*
postgresql postgresql 9.3.2 cpe:2.3:a:postgresql:postgresql:9.3.2:*:*:*:*:*:*:*
postgresql postgresql 9.3.3 cpe:2.3:a:postgresql:postgresql:9.3.3:*:*:*:*:*:*:*
postgresql postgresql 9.3.4 cpe:2.3:a:postgresql:postgresql:9.3.4:*:*:*:*:*:*:*
postgresql postgresql 9.3.5 cpe:2.3:a:postgresql:postgresql:9.3.5:*:*:*:*:*:*:*
postgresql postgresql 9.3.6 cpe:2.3:a:postgresql:postgresql:9.3.6:*:*:*:*:*:*:*
postgresql postgresql 9.3.7 cpe:2.3:a:postgresql:postgresql:9.3.7:*:*:*:*:*:*:*
postgresql postgresql 9.3.8 cpe:2.3:a:postgresql:postgresql:9.3.8:*:*:*:*:*:*:*
postgresql postgresql 9.3.9 cpe:2.3:a:postgresql:postgresql:9.3.9:*:*:*:*:*:*:*
postgresql postgresql 9.3.10 cpe:2.3:a:postgresql:postgresql:9.3.10:*:*:*:*:*:*:*
postgresql postgresql 9.3.11 cpe:2.3:a:postgresql:postgresql:9.3.11:*:*:*:*:*:*:*
postgresql postgresql 9.3.12 cpe:2.3:a:postgresql:postgresql:9.3.12:*:*:*:*:*:*:*
postgresql postgresql 9.3.13 cpe:2.3:a:postgresql:postgresql:9.3.13:*:*:*:*:*:*:*
postgresql postgresql 9.3.14 cpe:2.3:a:postgresql:postgresql:9.3.14:*:*:*:*:*:*:*
postgresql postgresql 9.3.15 cpe:2.3:a:postgresql:postgresql:9.3.15:*:*:*:*:*:*:*
postgresql postgresql 9.3.16 cpe:2.3:a:postgresql:postgresql:9.3.16:*:*:*:*:*:*:*
postgresql postgresql 9.4 cpe:2.3:a:postgresql:postgresql:9.4:*:*:*:*:*:*:*
postgresql postgresql 9.4.1 cpe:2.3:a:postgresql:postgresql:9.4.1:*:*:*:*:*:*:*
postgresql postgresql 9.4.2 cpe:2.3:a:postgresql:postgresql:9.4.2:*:*:*:*:*:*:*
postgresql postgresql 9.4.3 cpe:2.3:a:postgresql:postgresql:9.4.3:*:*:*:*:*:*:*
postgresql postgresql 9.4.4 cpe:2.3:a:postgresql:postgresql:9.4.4:*:*:*:*:*:*:*
postgresql postgresql 9.4.5 cpe:2.3:a:postgresql:postgresql:9.4.5:*:*:*:*:*:*:*
postgresql postgresql 9.4.6 cpe:2.3:a:postgresql:postgresql:9.4.6:*:*:*:*:*:*:*
postgresql postgresql 9.4.7 cpe:2.3:a:postgresql:postgresql:9.4.7:*:*:*:*:*:*:*
postgresql postgresql 9.4.8 cpe:2.3:a:postgresql:postgresql:9.4.8:*:*:*:*:*:*:*
postgresql postgresql 9.4.9 cpe:2.3:a:postgresql:postgresql:9.4.9:*:*:*:*:*:*:*
postgresql postgresql 9.4.10 cpe:2.3:a:postgresql:postgresql:9.4.10:*:*:*:*:*:*:*
postgresql postgresql 9.4.11 cpe:2.3:a:postgresql:postgresql:9.4.11:*:*:*:*:*:*:*
postgresql postgresql 9.5 cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*
postgresql postgresql 9.5.1 cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*
postgresql postgresql 9.5.2 cpe:2.3:a:postgresql:postgresql:9.5.2:*:*:*:*:*:*:*
postgresql postgresql 9.5.3 cpe:2.3:a:postgresql:postgresql:9.5.3:*:*:*:*:*:*:*
postgresql postgresql 9.5.4 cpe:2.3:a:postgresql:postgresql:9.5.4:*:*:*:*:*:*:*
postgresql postgresql 9.5.5 cpe:2.3:a:postgresql:postgresql:9.5.5:*:*:*:*:*:*:*
postgresql postgresql 9.5.6 cpe:2.3:a:postgresql:postgresql:9.5.6:*:*:*:*:*:*:*
postgresql postgresql 9.6 cpe:2.3:a:postgresql:postgresql:9.6:*:*:*:*:*:*:*
postgresql postgresql 9.6.1 cpe:2.3:a:postgresql:postgresql:9.6.1:*:*:*:*:*:*:*
postgresql postgresql 9.6.2 cpe:2.3:a:postgresql:postgresql:9.6.2:*:*:*:*:*:*:*

References for CVE-2017-7485

cvelogic Threat Intelligence