Skip to content

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 "ho...

HighCVSS 7.5 EPSS 5.1%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
redhat openstack = 12 No fix listed
redhat openstack = 13 No fix listed
redhat virtualization = 4.0 No fix listed
redhat enterprise linux desktop = 7.0 No fix listed
redhat enterprise linux server = 7.0 No fix listed
redhat enterprise linux server eus = 7.5 No fix listed
redhat enterprise linux workstation = 7.0 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
postgresql >= 9.3.0, < 9.3.24 9.3.24
postgresql >= 9.4.0, < 9.4.19 9.4.19
postgresql >= 9.5.0, < 9.5.14 9.5.14
postgresql >= 9.6.0, < 9.6.10 9.6.10
postgresql >= 10.0, < 10.5 10.5
PostgreSQL Global Development Group PostgreSQL = 10.5 No fix listed
PostgreSQL Global Development Group PostgreSQL = 9.6.10 No fix listed
PostgreSQL Global Development Group PostgreSQL = 9.5.14 No fix listed
PostgreSQL Global Development Group PostgreSQL = 9.4.19 No fix listed
PostgreSQL Global Development Group PostgreSQL = 9.3.24 No fix listed
alpine/postgresql(Alpine:v3.10) >= 10.0, < 10.5-r0 10.5-r0
alpine/postgresql(Alpine:v3.11) >= 10.0, < 10.5-r0 10.5-r0
alpine/postgresql(Alpine:v3.12) >= 10.0, < 10.5-r0 10.5-r0
Show 17 more
ProductAffected versionsFixed in
alpine/postgresql(Alpine:v3.13) >= 10.0, < 10.5-r0 10.5-r0
alpine/postgresql(Alpine:v3.14) >= 10.0, < 10.5-r0 10.5-r0
alpine/postgresql(Alpine:v3.5) >= 9.6.0, < 9.6.10-r0 9.6.10-r0
alpine/postgresql(Alpine:v3.6) >= 9.6.0, < 9.6.10-r0 9.6.10-r0
alpine/postgresql(Alpine:v3.7) >= 10.0, < 10.5-r0 10.5-r0
alpine/postgresql(Alpine:v3.8) >= 10.0, < 10.5-r0 10.5-r0
alpine/postgresql(Alpine:v3.9) >= 10.0, < 10.5-r0 10.5-r0
alpine/postgresql14(Alpine:v3.15) < 10.5-r0 10.5-r0
alpine/postgresql14(Alpine:v3.16) < 10.5-r0 10.5-r0
alpine/postgresql14(Alpine:v3.17) < 10.5-r0 10.5-r0
alpine/postgresql14(Alpine:v3.18) < 10.5-r0 10.5-r0
alpine/postgresql14(Alpine:v3.19) < 10.5-r0 10.5-r0
alpine/postgresql14(Alpine:v3.20) < 10.5-r0 10.5-r0
alpine/postgresql15(Alpine:v3.17) < 10.5-r0 10.5-r0
alpine/postgresql15(Alpine:v3.18) < 10.5-r0 10.5-r0
alpine/postgresql15(Alpine:v3.19) < 10.5-r0 10.5-r0
alpine/postgresql15(Alpine:v3.20) < 10.5-r0 10.5-r0

References