CVE-2018-10915
A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.0 | High8.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 5.1% · top 7.6% of all CVEs (5 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.5.
Weakness
Affected products
PostgreSQL Global Development Group · postgresql
- affected 10.5
- affected 9.6.10
- affected 9.5.14
- affected 9.4.19
- affected 9.3.24
References (17)
- GLSA-201810-08 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- RHSA-2018:2729 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-4269 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2018:2643 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2721 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2511 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3744-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- [debian-lts-announce] 20180815 [SECURITY] [DLA 1464-1] postgresql-9.4 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2018:2566 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2018:2565 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10915 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:3816 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 105054 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://www.postgresql.org/about/news/1878/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2018:2557 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 1041446 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- openSUSE-SU-2020:1227 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-10915)Record last updated .