CVE-2018-10915

HIGHCVSS 8.5/10EPSS 5.15%

Last modified

CVE-2018-10915 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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. EPSS estimates a 5.15% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.0
8.5/10

CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

EPSS Probability
5.15%

91.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RedhatOpenstack12
RedhatOpenstack13
RedhatVirtualization4.0
RedhatEnterprise Linux Desktop7.0
RedhatEnterprise Linux Server7.0
RedhatEnterprise Linux Server Eus7.5
RedhatEnterprise Linux Workstation7.0
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
DebianDebian Linux8.0
DebianDebian Linux9.0
PostgresqlPostgresql>= 9.3.0, < 9.3.24
PostgresqlPostgresql>= 9.4.0, < 9.4.19
PostgresqlPostgresql>= 9.5.0, < 9.5.14
PostgresqlPostgresql>= 9.6.0, < 9.6.10
PostgresqlPostgresql>= 10.0, < 10.5

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2018-10915?
CVE-2018-10915 has a CVSS score of 8.5/10 (HIGH severity). The EPSS model estimates a 5.15% probability of exploitation in the next 30 days.
How do I fix CVE-2018-10915?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2018

Are you affected by CVE-2018-10915?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST