CVE-2018-10915

Impact:
Important
Public Date:
2018-08-09
CWE:
CWE-665->(CWE-200|CWE-89)
Bugzilla:
1609891: CVE-2018-10915 postgresql: Certain host connection parameters defeat client-side security defenses
A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between connections. If an affected version of libpq were used with "host" or "hostaddr" connection parameters from untrusted input, attackers could bypass client-side connection security features, obtain access to higher privileged connections or potentially cause other impact through SQL injection, by causing the PQescape() functions to malfunction.

Find out more about CVE-2018-10915 from the MITRE CVE dictionary dictionary and NIST NVD.

Statement

This vulnerability is only exploitable where an attacker can provide or influence connection parameters to a PostgreSQL client application using libpq. Contrib modules "dblink" and "postgres_fdw" are examples of applications affected by this flaw.

Red Hat Virtualization includes vulnerable versions of postgresql. However this flaw is not known to be exploitable under any supported configuration of Red Hat Virtualization. A future update may address this issue.

This issue affects the versions of the rh-postgresql95-postgresql package as shipped with Red Hat Satellite 5.7 and 5.8. However, this flaw is not known to be exploitable under any supported scenario in Satellite 5. A future update may address this issue.

CVSS v3 metrics

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

Red Hat Security Errata

Platform Errata Release Date
Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts (rhvm-appliance) RHSA-2018:2643 2018-09-04
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-postgresql95-postgresql) RHSA-2018:2511 2018-08-20
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-postgresql10-postgresql) RHSA-2018:2565 2018-08-27
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-postgresql96-postgresql) RHSA-2018:2566 2018-08-27
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-postgresql96-postgresql) RHSA-2018:2566 2018-08-27
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-postgresql95-postgresql) RHSA-2018:2511 2018-08-20
Red Hat Enterprise Linux 7 (postgresql) RHSA-2018:2557 2018-08-23

Affected Packages State

Platform Package State
Red Hat Virtualization 4 rh-postgresql95-postgresql Affected
Red Hat Virtualization 4 postgresql Affected
Red Hat Satellite 5 rh-postgresql95-postgresql Will not fix
Red Hat Mobile Application Platform On-Premise 4 millicore 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
Red Hat Ansible Tower 3 for RHEL 7 postgresql96 Affected

Acknowledgements

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

External References

Last Modified
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.