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 trend (30 days)EPSS over the last 30 days for CVE-2018-10915: held from 0.052 to 0.052.

EPSS over last 30 days · oldest: 0.052 · newest: 0.052 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.