BreachSpiderVerified, not vibes

CVE-2017-7485 in Postgresql

Medium 5.9

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 fro...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.05.9
EPSS2.0%
EPSS percentile82th
FixSee advisory

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Postgresql Postgresql 9.3 9.3.1 9.3.2 9.3.3 9.3.4 9.3.5
+33 more9.3.6 9.3.7 9.3.8 9.3.9 9.3.10 9.3.11 9.3.12 9.3.13 9.3.14 9.3.15 9.3.16 9.4 9.4.1 9.4.2 9.4.3 9.4.4 9.4.5 9.4.6 9.4.7 9.4.8 9.4.9 9.4.10 9.4.11 9.5 9.5.1 9.5.2 9.5.3 9.5.4 9.5.5 9.5.6 9.6 9.6.1 9.6.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-7485
BreachSpider IDBS-2017-GLOBAL-267539-M
CVSS vectorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2017-05-12
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-311: CWE-311

CWE-390: CWE-390

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-311

CAPEC-37 Retrieve Embedded Sensitive Data via CWE-311

CAPEC-65 Sniff Application Code via CWE-311

CAPEC-158 Sniffing Network Traffic via CWE-311

CAPEC-204 Lifting Sensitive Data Embedded in Cache via CWE-311

Show all 14

CAPEC-383 Harvesting Information via API Event Monitoring via CWE-311

CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-311

CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-311

CAPEC-388 Application API Button Hijacking via CWE-311

CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-311

CAPEC-609 Cellular Traffic Intercept via CWE-311

CAPEC-157 Sniffing Attacks via CWE-311

CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-311

CAPEC-386 Application API Navigation Remapping via CWE-311

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2017. A medium severity vulnerability affects Postgresql systems (CVE-2017-7485). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.

Questions

What is CVE-2017-7485?

This vulnerability was disclosed in 2017. A medium severity vulnerability affects Postgresql systems (CVE-2017-7485). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2017-7485?

CVE-2017-7485 has CVSS 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 2.0%.

Is CVE-2017-7485 actively exploited?

No confirmed active exploitation of CVE-2017-7485 as of 2026-09-25.

How do I remediate CVE-2017-7485?

Priority: MONITOR. Advisory: https://www.postgresql.org/about/news/1746/ PSIRT: [email protected]

What systems are affected by CVE-2017-7485?

CVE-2017-7485 affects Postgresql Postgresql.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Postgresql","product":"Postgresql","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.