SQL Injection in PostgreSQL
CVE-2018-10915
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 was 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. Postgresql versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 are affected.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.052 (92.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.052 · newest: 0.052 · change: 0.000
Affected products
- PostgreSQL
- PostgreSQL Global Development Group — versions 9.3.24, 9.5.14, 9.6.10
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 8.0, 9.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Server Eus — versions 7.5
- Red Hat Enterprise Linux Workstation — versions 7.0
- Red Hat OpenStack — versions 12, 13
- Red Hat Virtualization — versions 4.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security.gentoo.org/glsa/201810-08 (vendor-advisory)
- access.redhat.com/errata/RHSA-2018:2729 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2018/dsa-4269 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:2643 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:2721 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:2511 (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3744-1/ (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2018/08/msg00012.html (mailing-list, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:2566 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:2565 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-10915?
- CVE-2018-10915 is a high-severity vulnerability in PostgreSQL, classified under SQL Injection. CVSS score: 8.5/10. Published 2018-08-09.
- How severe is CVE-2018-10915?
- High severity. CVSS v3 base score is 8.5 out of 10.
- Is CVE-2018-10915 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.