CVE-2018-10915
published high CVSS 3.0 · 8.5postgresql: Certain host connection parameters defeat client-side security defenses
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| PostgreSQL Global Development Group | — | postgresql10.5 · 9.6.10 · 9.5.14 · 9.4.19 · 9.3.24 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-1080 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.10 | postgresql | Fixed | 10.5-r0 | Package fix record |
| Oracle Linux | 7 | postgresqlaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlaarch64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | postgresqlnoarch | Advisory build | 12.0.1-lp151.6.9.1 | OPENSUSE-SU-2020:1227-1 |
| Debian | jessie | postgresql-9.4 | Advisory build | 9.4.19-0+deb8u1 | DLA-1464-1 |
| Alpine Linux | v3.11 | postgresql | Fixed | 10.5-r0 | Package fix record |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.12 | postgresql | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.14 | postgresql | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.5 | postgresql | Fixed | 9.6.10-r0 | Package fix record |
| Alpine Linux | v3.6 | postgresql | Fixed | 9.6.10-r0 | Package fix record |
| Alpine Linux | v3.7 | postgresql | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.8 | postgresql | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.9 | postgresql | Fixed | 10.5-r0 | Package fix record |
| Oracle Linux | 7 | postgresqlx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqli686 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64le | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390x | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlsrc | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlx86_64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql14 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql14 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql15 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql14 | Fixed | 10.5-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql15 | Fixed | 10.5-r0 | Package fix record |
| Debian | stretch | postgresql-9.6 | Advisory build | 9.6.10-0+deb9u1 | DSA-4269-1 |
| Oracle Linux | 7 | postgresql-contribaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-contribx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-develaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-develx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-docsaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-docsx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-libsaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-libsx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-plperlaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-plperlx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-plpythonaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-plpythonx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-pltclaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-pltclx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-serveraarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-serverx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-staticaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-staticx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-testaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-testx86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-upgradeaarch64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Oracle Linux | 7 | postgresql-upgradex86_64 | Advisory build | 0:9.2.24-1.el7_5 | ELSA-2018-2557 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresqlsrc | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresqlx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-contribx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-debuginfox86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-develx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-docsx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-libsx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-plperlx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-plpythonx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-pltclx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-serverx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-staticx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql95-postgresql-testx86_64 | Advisory build | 9.5.14-1.el6 | RHSA-2018:2511 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresqlsrc | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresqlx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-contribx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-contrib-syspathsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-debuginfox86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-develx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-docsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-libsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-plperlx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-plpythonx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-pltclx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-serverx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-server-syspathsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-staticx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-syspathsx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-6 | rh-postgresql96-postgresql-testx86_64 | Advisory build | 9.6.10-1.el6 | RHSA-2018:2566 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribaarch64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribppc64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribppc64le | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribs390x | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-contribx86_64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoaarch64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoi686 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfoppc64le | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfos390 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfos390x | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-debuginfox86_64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develaarch64 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
| Red Hat Enterprise Linux | RHEL-7 | postgresql-develi686 | Advisory build | 9.2.24-1.el7_5 | RHSA-2018:2557 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| PostgreSQL Global Development Group | postgresql | 10.5 (affected)9.6.10 (affected)9.5.14 (affected)9.4.19 (affected)9.3.24 (affected) | redhat · cna |
Weaknesses
3- CWE-665
- CWE-200
- CWE-89
References
17- openSUSE-SU-2020:1227 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
- 105054 http://www.securityfocus.com/bid/105054
- 1041446 http://www.securitytracker.com/id/1041446
- RHSA-2018:2511 https://access.redhat.com/errata/RHSA-2018:2511
- RHSA-2018:2557 https://access.redhat.com/errata/RHSA-2018:2557
- RHSA-2018:2565 https://access.redhat.com/errata/RHSA-2018:2565
- RHSA-2018:2566 https://access.redhat.com/errata/RHSA-2018:2566
- RHSA-2018:2643 https://access.redhat.com/errata/RHSA-2018:2643
- RHSA-2018:2721 https://access.redhat.com/errata/RHSA-2018:2721
- RHSA-2018:2729 https://access.redhat.com/errata/RHSA-2018:2729
- RHSA-2018:3816 https://access.redhat.com/errata/RHSA-2018:3816
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10915
- [debian-lts-announce] 20180815 [SECURITY] [DLA 1464-1] postgresql-9.4 security update https://lists.debian.org/debian-lts-announce/2018/08/msg00012.html
- GLSA-201810-08 https://security.gentoo.org/glsa/201810-08
- USN-3744-1 https://usn.ubuntu.com/3744-1/
- DSA-4269 https://www.debian.org/security/2018/dsa-4269
- https://www.postgresql.org/about/news/1878/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e7f9b57de8ca835ff5b0b730c4fd0c6082dbfcba27555bb330aa4b6e76d584c6
- Ingested
- 23 Sep 2026, 07:43:23 UTC
- Source record
- Official CVE record