cve.bz

CVE-2018-10925 Incorrect Authorization

8.1 highEPSS 2.2%Fix available

High (8.1). EPSS 2.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
2.2% (unchanged from 2.2% a week ago; 2.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-10925 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10925?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10925?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-10925 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
debian:debian_linux9.0
postgresql:postgresqlfrom 9.5.0 before 9.5.14
postgresql:postgresqlfrom 9.6.0 before 9.6.10
postgresql:postgresqlfrom 10.0 before 10.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9postgresql-9.69.6.10-0+deb9u1DSA-4269-1
Ubuntu14.04:LTSpostgresql-9.39.3.24-0ubuntu0.14.04USN-3744-1
Ubuntu16.04:LTSpostgresql-9.59.5.14-0ubuntu0.16.04UBUNTU-CVE-2018-10925 USN-3744-1
Ubuntu18.04:LTSpostgresql-1010.5-0ubuntu0.18.04UBUNTU-CVE-2018-10925 USN-3744-1
Red Hatcloudforms_managementengine:5.9::el7cfme, cfme-debuginfo0:5.9.6.5-3.el7cfRHSA-2018:3816
Red Hatcloudforms_managementengine:5.9::el7cfme-appliance, cfme-appliance-tools, cfme-appliance-common and 1 more0:5.9.6.5-1.el7cfRHSA-2018:3816
Red Hatcloudforms_managementengine:5.9::el7cfme-gemset, cfme-gemset-debuginfo, cfme-amazon-smartstate0:5.9.6.5-2.el7cfRHSA-2018:3816
Red Hatcloudforms_managementengine:5.9::el7dbus-api-service0:1.0.1-3.1.el7cfRHSA-2018:3816
Red Hatcloudforms_managementengine:5.9::el7httpd-configmap-generator0:0.2.2-1.2.el7cfRHSA-2018:3816
Red Hatcloudforms_managementengine:5.9::el7postgresql96, postgresql96-docs, postgresql96-libs and 8 more0:9.6.10-1PGDG.el7atRHSA-2018:3816
Red Hatrhel_software_collections:3::el6rh-postgresql95-postgresql, rh-postgresql95-postgresql-docs, rh-postgresql95-postgresql-libs and 9 more0:9.5.14-1.el6RHSA-2018:2511
Red Hatrhel_software_collections:3::el6rh-postgresql96-postgresql, rh-postgresql96-postgresql-docs, rh-postgresql96-postgresql-libs and 12 more0:9.6.10-1.el6RHSA-2018:2566
Red Hatrhel_software_collections:3::el7rh-postgresql10-postgresql, rh-postgresql10-postgresql-docs, rh-postgresql10-postgresql-libs and 12 more0:10.5-1.el7RHSA-2018:2565
Red Hatrhel_software_collections:3::el7rh-postgresql95-postgresql, rh-postgresql95-postgresql-docs, rh-postgresql95-postgresql-libs and 9 more0:9.5.14-1.el7RHSA-2018:2511
Red Hatrhel_software_collections:3::el7rh-postgresql96-postgresql, rh-postgresql96-postgresql-docs, rh-postgresql96-postgresql-libs and 12 more0:9.6.10-1.el7RHSA-2018:2566
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 8 morepostgresql96-libs9.6.10-3.22.1SUSE-SU-2018:3377-1
SUSEEnterprise Storage 4, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP1-LTSS and 7 morepostgresql969.6.10-3.22.7SUSE-SU-2018:3377-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Server Applications 15postgresql1010.5-4.5.1SUSE-SU-2018:2564-1
openSUSELeap 15.1postgresql12.0.1-lp151.6.9.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql1010.13-lp151.2.14.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql1212.3-lp151.2.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql969.6.19-lp151.3.3.1openSUSE-SU-2020:1227-1
openSUSETumbleweedpostgresql1010.18-1.3openSUSE-SU-2024:11184-1
openSUSETumbleweedpostgresql1111.13-1.3openSUSE-SU-2024:11185-1
Alpinev3.5, v3.6postgresql9.6.10-r0ALPINE-CVE-2018-10925
Alpinev3.7, v3.8, v3.9 and 5 morepostgresql10.5-r0ALPINE-CVE-2018-10925
Alpinev3.15, v3.16postgresql1410.5-r0ALPINE-CVE-2018-10925
Alpinev3.17, v3.18, v3.19 and 1 morepostgresql14, postgresql1510.5-r0ALPINE-CVE-2018-10925

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's 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.

ProductPackageStateAdvisory
CloudForms Management Engine 5.9cfme-0:5.9.6.5-3.el7cfFixed 2018-12-13RHSA-2018:3816
CloudForms Management Engine 5.9cfme-amazon-smartstate-0:5.9.6.5-2.el7cfFixed 2018-12-13RHSA-2018:3816
CloudForms Management Engine 5.9cfme-appliance-0:5.9.6.5-1.el7cfFixed 2018-12-13RHSA-2018:3816
CloudForms Management Engine 5.9cfme-gemset-0:5.9.6.5-2.el7cfFixed 2018-12-13RHSA-2018:3816
CloudForms Management Engine 5.9dbus-api-service-0:1.0.1-3.1.el7cfFixed 2018-12-13RHSA-2018:3816
CloudForms Management Engine 5.9httpd-configmap-generator-0:0.2.2-1.2.el7cfFixed 2018-12-13RHSA-2018:3816
CloudForms Management Engine 5.9postgresql96-0:9.6.10-1PGDG.el7atFixed 2018-12-13RHSA-2018:3816
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-postgresql95-postgresql-0:9.5.14-1.el6Fixed 2018-08-20RHSA-2018:2511
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-postgresql96-postgresql-0:9.6.10-1.el6Fixed 2018-08-27RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-postgresql95-postgresql-0:9.5.14-1.el6Fixed 2018-08-20RHSA-2018:2511
CloudForms Management Engine 5postgresql94Affected
Red Hat Ansible Tower 3postgresql96Affected
Red Hat Enterprise Linux 5postgresqlNot affected
Red Hat Enterprise Linux 5postgresql84Not affected
Red Hat Enterprise Linux 6postgresqlNot affected
Red Hat Enterprise Linux 7postgresqlNot affected
Red Hat Enterprise Linux 8libpqNot affected
Red Hat Enterprise Linux 8postgresqlNot affected
Red Hat Mobile Application Platform 4millicoreNot affected
Red Hat Satellite 5rh-postgresql95-postgresqlWill not fix
15 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-10925.

References

Check your stackJSON