postgresql: Missing authorization and memory disclosure in INSERT ... ON CONFLICT DO UPDATE statements
Published Aug 9, 2018
8.1
HIGHCVSS 3.1
EPSS 2.24%
Description
It was discovered that PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 failed to properly check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE". An attacker with "CREATE TABLE" privileges could exploit this to read arbitrary bytes server memory. If the attacker also had certain "INSERT" and limited "UPDATE" privileges to a particular table, they could exploit this to update other columns in the same table.
Affected products
-
- Version 10.5StatusaffectedConstraints-
- Version 9.3.24StatusaffectedConstraints-
- Version 9.4.19StatusaffectedConstraints-
- Version 9.5.14StatusaffectedConstraints-
- Version 9.6.10StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PostgreSQL Global Development Group | PostgreSQL | n/a |
|
Configuration 1
- 14.04
- 16.04
- 18.04
Configuration 2
- 9.0
Configuration 3
- ≥ 9.5.0 · < 9.5.14
- ≥ 9.6.0 · < 9.6.10
- ≥ 10.0 · < 10.5
No data.
CloudForms Management Engine 5.9
cfme-0:5.9.6.5-3.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
cfme-amazon-smartstate-0:5.9.6.5-2.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
cfme-appliance-0:5.9.6.5-1.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
cfme-gemset-0:5.9.6.5-2.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
dbus-api-service-0:1.0.1-3.1.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
httpd-configmap-generator-0:0.2.2-1.2.el7cf
Fixed · RHSA-2018:3816
CloudForms Management Engine 5.9
postgresql96-0:9.6.10-1PGDG.el7at
Fixed · RHSA-2018:3816
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql95-postgresql-0:9.5.14-1.el6
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-postgresql96-postgresql-0:9.6.10-1.el6
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el6
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el6
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql10-postgresql-0:10.5-1.el7
Fixed · RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql10-postgresql-0:10.5-1.el7
Fixed · RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql10-postgresql-0:10.5-1.el7
Fixed · RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql10-postgresql-0:10.5-1.el7
Fixed · RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql95-postgresql-0:9.5.14-1.el7
Fixed · RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-postgresql96-postgresql-0:9.6.10-1.el7
Fixed · RHSA-2018:2566
CloudForms Management Engine 5
postgresql94
Affected
Red Hat Ansible Tower 3
postgresql96
Affected
Red Hat Enterprise Linux 5
postgresql
Not affected
Red Hat Enterprise Linux 5
postgresql84
Not affected
Red Hat Enterprise Linux 6
postgresql
Not affected
Red Hat Enterprise Linux 7
postgresql
Not affected
Red Hat Enterprise Linux 8
libpq
Not affected
Red Hat Enterprise Linux 8
postgresql
Not affected
Red Hat Mobile Application Platform 4
millicore
Not affected
Red Hat Satellite 5
rh-postgresql95-postgresql
Will not fix
Red Hat Virtualization 4
postgresql
Not affected
Red Hat Virtualization 4
rhvm-appliance
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms Management Engine 5.9 | cfme-0:5.9.6.5-3.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | cfme-amazon-smartstate-0:5.9.6.5-2.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | cfme-appliance-0:5.9.6.5-1.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | cfme-gemset-0:5.9.6.5-2.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | dbus-api-service-0:1.0.1-3.1.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | httpd-configmap-generator-0:0.2.2-1.2.el7cf | Fixed | RHSA-2018:3816 |
| CloudForms Management Engine 5.9 | postgresql96-0:9.6.10-1PGDG.el7at | Fixed | RHSA-2018:3816 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql95-postgresql-0:9.5.14-1.el6 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-postgresql96-postgresql-0:9.6.10-1.el6 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el6 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el6 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql10-postgresql-0:10.5-1.el7 | Fixed | RHSA-2018:2565 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql10-postgresql-0:10.5-1.el7 | Fixed | RHSA-2018:2565 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql10-postgresql-0:10.5-1.el7 | Fixed | RHSA-2018:2565 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql10-postgresql-0:10.5-1.el7 | Fixed | RHSA-2018:2565 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql95-postgresql-0:9.5.14-1.el7 | Fixed | RHSA-2018:2511 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-postgresql96-postgresql-0:9.6.10-1.el7 | Fixed | RHSA-2018:2566 |
| CloudForms Management Engine 5 | postgresql94 | Affected | n/a |
| Red Hat Ansible Tower 3 | postgresql96 | Affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 5 | postgresql84 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 7 | postgresql | Not affected | n/a |
| Red Hat Enterprise Linux 8 | libpq | Not affected | n/a |
| Red Hat Enterprise Linux 8 | postgresql | Not affected | n/a |
| Red Hat Mobile Application Platform 4 | millicore | Not affected | n/a |
| Red Hat Satellite 5 | rh-postgresql95-postgresql | Will not fix | n/a |
| Red Hat Virtualization 4 | postgresql | Not affected | n/a |
| Red Hat Virtualization 4 | rhvm-appliance | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Virtualization includes vulnerable versions of postgresql. However this flaw is not known to be exploitable under any supported configuration of Red Hat Virtualization. A future update may address this issue. This issue affects the versions of the postsgresql package as shipped with Red Hat Satellite 5.8. However, this flaw is not known to be exploitable under any supported scenario in Satellite 5.8. A future update may address this issue.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
AV:N/AC:L/Au:S/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.24% (0.02241) | 82.22th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.24% (0.02241) | 80.49th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.45% (0.00452) | 61.63th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.14% (0.00138) | 50.95th | v3 (v2023.03.01) |
| Mar 4, 2024 | 0.14% (0.00138) | 48.38th | v3 (v2023.03.01) |
| Feb 9, 2024 | 0.18% (0.00177) | 53.71th | v3 (v2023.03.01) |
| Dec 31, 2023 | 0.18% (0.00183) | 55.61th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.26% (0.00256) | 62.70th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.25% (0.00249) | 60.92th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.68% (0.02678) | 55.40th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.68% (0.02678) | 0.00th | v1 |
References (16)
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/105052 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1041446 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:2511 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2565 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:2566 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3816 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2018-10925 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1612619 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10925 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-10925
- https://security.gentoo.org/glsa/201810-08 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3744-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-10925
- https://www.debian.org/security/2018/dsa-4269 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.postgresql.org/about/news/1878/ x_refsource_CONFIRMVendor Advisory
Change history (0)
No recorded changes yet.