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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- openSUSE-SU-2020:1227 vendor-advisory
- 105054 third-party-advisory vdb-entry
- 1041446 third-party-advisory vdb-entry
- RHSA-2018:2511 third-party-advisory vendor-advisory
- RHSA-2018:2557 third-party-advisory vendor-advisory
- RHSA-2018:2565 third-party-advisory vendor-advisory
- RHSA-2018:2566 third-party-advisory vendor-advisory
- RHSA-2018:2643 third-party-advisory vendor-advisory
- RHSA-2018:2721 third-party-advisory vendor-advisory
- RHSA-2018:2729 third-party-advisory vendor-advisory
- RHSA-2018:3816 vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- [debian-lts-announce] 20180815 [SECURITY] [DLA 1464-1] postgresql-9.4 security update mailing-list third-party-advisory
- GLSA-201810-08 vendor-advisory
- USN-3744-1 third-party-advisory vendor-advisory
- DSA-4269 third-party-advisory vendor-advisory
- www.postgresql.org vendor-advisory
- security.alpinelinux.org vendor-advisory