CVE-2017-7485

Impact:
Moderate
Public Date:
2017-05-11
CWE:
CWE-390
Bugzilla:
1448086: CVE-2017-7485 postgresql: libpq ignores PGREQUIRESSL environment variable
It was found that the PGREQUIRESSL 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.

Find out more about CVE-2017-7485 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

CVSS3 Base Score 7.4
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity Impact High
Availability Impact None

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux rh-postgresql94-postgresql Affected
Red Hat Software Collections for Red Hat Enterprise Linux rh-postgresql95-postgresql Affected
Red Hat Satellite 5 postgresql92-postgresql Not affected
Red Hat Enterprise Linux 7 postgresql Not affected
Red Hat Enterprise Linux 6 postgresql Not affected
Red Hat Enterprise Linux 5 postgresql84 Not affected
Red Hat Enterprise Linux 5 postgresql Not affected

Acknowledgements

Red Hat would like to thank the PostgreSQL project for reporting this issue. Upstream acknowledges Daniel Gustafsson as the original reporter.

Mitigation

Use PGSSLMODE=require instead of PGREQUIRESSL=1

External References

Last Modified