CVE-2018-10915 json
A vulnerability was found in libpq, the default PostgreSQL client library where libpq failed to properly reset its internal state between c…
published 8y ago modified 4mo ago also EUVD-2018-2970
- cvss
- 8.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- postgresql postgresql 9.3.24, 9.4.19, 9.5.14, 9.6.10, 10.5
- postgresql-10 Ubuntu 18.04 LTS 10.5-0ubuntu0.18.04
- postgresql-9.3 Ubuntu 14.04 LTS 9.3.24-0ubuntu0.14.04
- postgresql-9.5 Ubuntu 16.04 LTS 9.5.14-0ubuntu0.16.04
ubuntu advisories UBUNTU-CVE-2018-10915
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rhvm-appliance RHEL 7 2:4.2-20180828.0.el7
- cfme cloudforms managementengine 5.9 5.9.6.5-3.el7cf
- cfme-gemset cloudforms managementengine 5.9 5.9.6.5-2.el7cf
- postgresql96 cloudforms managementengine 5.9 9.6.10-1PGDG.el7at
- cfme-appliance cloudforms managementengine 5.9 5.9.6.5-1.el7cf
- dbus-api-service cloudforms managementengine 5.9 1.0.1-3.1.el7cf
- postgresql96-libs cloudforms managementengine 5.9 9.6.10-1PGDG.el7at
- postgresql96-test cloudforms managementengine 5.9 9.6.10-1PGDG.el7at
red hat advisories RHSA-2018:2643RHSA-2018:3816RHSA-2018:2557RHSA-2018:2565RHSA-2018:2566RHSA-2018:2511
- postgresql94 SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES 12-LTSS +4 more 9.4.19-21.22.7
- postgresql96 SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for SAP 12 SP1 +7 more 9.6.10-3.22.7
- postgresql96-libs SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for SAP 12 SP1 +8 more 9.6.10-3.22.1
- postgresql94 SLES for SAP 11 SP4, SLES 11 SP4 9.4.19-0.23.19.1
- postgresql94-libs SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 9.4.19-0.23.19.1
- postgresql10 SLE Module for Server Applications 15, SLE Module for Basesystem 15 10.5-4.5.1
suse advisories SUSE-SU-2018:3909-1SUSE-SU-2018:3377-1SUSE-SU-2018:3287-1SUSE-SU-2018:2564-1
- postgresql10 openSUSE Tumbleweed 10.18-1.3
- postgresql10 openSUSE Leap 15.1 10.13-lp151.2.14.1
- postgresql12 openSUSE Leap 15.1 12.3-lp151.2.1
- postgresql openSUSE Leap 15.1 12.0.1-lp151.6.9.1
- postgresql96 openSUSE Leap 15.1 9.6.19-lp151.3.3.1
opensuse advisories openSUSE-SU-2024:11184-1openSUSE-SU-2020:1227-1
- postgresql Alpine 3.14, Alpine 3.13, Alpine 3.12 +5 more 10.5-r0
- postgresql Alpine 3.6, Alpine 3.5 9.6.10-r0
- postgresql14 Alpine 3.20, Alpine 3.19, Alpine 3.18 +3 more 10.5-r0
- postgresql15 Alpine 3.20, Alpine 3.19, Alpine 3.18 +1 more 10.5-r0
alpine advisories ALPINE-CVE-2018-10915
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2018-10915 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-10915 updated cvss 8.5
postgresql: Certain host connection parameters defeat client-side security defenses
-
Red Hat CloudForms Management Engine 5 postgresql94, postgresql94-libs, postgresql94-test, postgresql94-pltcl, postgresql94-plperl, postgresql94-server, +2 more Red Hat Ansible Tower 3 postgresql96affected: no fix available
-
Red Hat Satellite 5 rh-postgresql95-postgresqlaffected: no fix planned “Will not fix”
-
Red Hat CloudForms Management Engine 5.9 cfme 5.9.6.5-3.el7cf, cfme-gemset 5.9.6.5-2.el7cf, cfme-appliance 5.9.6.5-1.el7cf, postgresql96 9.6.10-1PGDG.el7at, dbus-api-service 1.0.1-3.1.el7cf, cfme-appliance-tools 5.9.6.5-1.el7cf, +10 morefixed: vendor fix RHSA-2018:3816
-
Red Hat Enterprise Linux Client (v. 7) postgresql 9.2.24-1.el7_5, postgresql-libs 9.2.24-1.el7_5 Red Hat Enterprise Linux Client Optional (v. 7) postgresql 9.2.24-1.el7_5, postgresql-test 9.2.24-1.el7_5, postgresql-pltcl 9.2.24-1.el7_5, postgresql-plperl 9.2.24-1.el7_5, postgresql-server 9.2.24-1.el7_5, postgresql-contrib 9.2.24-1.el7_5, +2 more Red Hat Enterprise Linux ComputeNode (v. 7) postgresql 9.2.24-1.el7_5, postgresql-libs 9.2.24-1.el7_5 Red Hat Enterprise Linux ComputeNode Optional (v. 7) postgresql 9.2.24-1.el7_5, postgresql-test 9.2.24-1.el7_5, postgresql-pltcl 9.2.24-1.el7_5, postgresql-plperl 9.2.24-1.el7_5, postgresql-server 9.2.24-1.el7_5, postgresql-contrib 9.2.24-1.el7_5, +2 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) postgresql 9.2.24-1.el7_5, postgresql-libs 9.2.24-1.el7_5, postgresql-test 9.2.24-1.el7_5, postgresql-pltcl 9.2.24-1.el7_5, postgresql-plperl 9.2.24-1.el7_5, postgresql-server 9.2.24-1.el7_5, +2 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) postgresql-upgrade 9.2.24-1.el7_5fixed: vendor fix RHSA-2018:2557
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) postgresql 9.2.24-1.el7_5, postgresql-libs 9.2.24-1.el7_5, postgresql-test 9.2.24-1.el7_5, postgresql-pltcl 9.2.24-1.el7_5, postgresql-plperl 9.2.24-1.el7_5, postgresql-server 9.2.24-1.el7_5, +2 more Red Hat Enterprise Linux Server Optional (v. 7) postgresql-upgrade 9.2.24-1.el7_5 Red Hat Enterprise Linux Workstation (v. 7) postgresql 9.2.24-1.el7_5, postgresql-libs 9.2.24-1.el7_5, postgresql-test 9.2.24-1.el7_5, postgresql-pltcl 9.2.24-1.el7_5, postgresql-plperl 9.2.24-1.el7_5, postgresql-server 9.2.24-1.el7_5, +2 more Red Hat Enterprise Linux Workstation Optional (v. 7) postgresql-upgrade 9.2.24-1.el7_5 -
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-postgresql95-postgresql 9.5.14-1.el6, rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql95-postgresql-libs 9.5.14-1.el6, rh-postgresql95-postgresql-test 9.5.14-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-postgresql95-postgresql 9.5.14-1.el6, rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql95-postgresql-libs 9.5.14-1.el6, rh-postgresql95-postgresql-test 9.5.14-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, +24 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, +24 morefixed: vendor fix RHSA-2018:2511
+2 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-postgresql95-postgresql 9.5.14-1.el6, rh-postgresql96-postgresql 9.6.10-1.el6, rh-postgresql95-postgresql-libs 9.5.14-1.el6, rh-postgresql95-postgresql-test 9.5.14-1.el6, rh-postgresql96-postgresql-libs 9.6.10-1.el6, rh-postgresql96-postgresql-test 9.6.10-1.el6, +13 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql10-postgresql 10.5-1.el7, rh-postgresql95-postgresql 9.5.14-1.el7, rh-postgresql96-postgresql 9.6.10-1.el7, rh-postgresql10-postgresql-libs 10.5-1.el7, rh-postgresql10-postgresql-test 10.5-1.el7, rh-postgresql10-postgresql-pltcl 10.5-1.el7, +24 more -
Red Hat Virtualization 4 Hypervisor for RHEL 7 rhvm-appliance 4.2-20180828.0.el7 Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts rhvm-appliance 4.2-20180828.0.el7fixed: vendor fix RHSA-2018:2643
-
Red Hat Enterprise Linux 5 postgresql, postgresql84 Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 8 libpq, pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, +8 more Red Hat Mobile Application Platform 4 millicorenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.09% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P |
Affected products
- PostgreSQL Global Development Group postgresql
Classification
- Weakness
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2018-10915
issue-tracking, patch, third-party-advisory
-
security.gentoo.org
/glsa/201810-08
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:2729
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4269
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2643
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2721
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2511
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3744-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2566
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2565
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:3816
vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:2557
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-08/msg00043.html
vendor-advisory
-
postgresql.org
/about/news/1878/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/08/msg00012.html
mailing-list, third-party-advisory
-
securityfocus.com
/bid/105054
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1041446
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-10915
- NVD CVE-2018-10915
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.