Live threats

All CVEs / Postgresql

CVE-2017-7485Postgresql

Medium 5.9 No auth needed

Priority
51
CVSS 3.0
5.9
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
May 12, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-390, CWE-311
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql9.3
postgresqlpostgresql9.3.1
postgresqlpostgresql9.3.2
postgresqlpostgresql9.3.3
postgresqlpostgresql9.3.4
postgresqlpostgresql9.3.5
postgresqlpostgresql9.3.6
postgresqlpostgresql9.3.7
postgresqlpostgresql9.3.8
postgresqlpostgresql9.3.9
postgresqlpostgresql9.3.10
postgresqlpostgresql9.3.11
postgresqlpostgresql9.3.12
postgresqlpostgresql9.3.13
postgresqlpostgresql9.3.14
postgresqlpostgresql9.3.15
postgresqlpostgresql9.3.16
postgresqlpostgresql9.4
postgresqlpostgresql9.4.1
postgresqlpostgresql9.4.2
postgresqlpostgresql9.4.3
postgresqlpostgresql9.4.4
postgresqlpostgresql9.4.5
postgresqlpostgresql9.4.6
postgresqlpostgresql9.4.7
postgresqlpostgresql9.4.8
postgresqlpostgresql9.4.9
postgresqlpostgresql9.4.10
postgresqlpostgresql9.4.11
postgresqlpostgresql9.5
postgresqlpostgresql9.5.1
postgresqlpostgresql9.5.2
postgresqlpostgresql9.5.3
postgresqlpostgresql9.5.4
postgresqlpostgresql9.5.5
postgresqlpostgresql9.5.6
postgresqlpostgresql9.6
postgresqlpostgresql9.6.1
postgresqlpostgresql9.6.2

Official sources

References

Links published by the sources. Open them with care.