Skip to content
Fencer Intel
high 7.1

CVE-2018-10925 json

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 certai…

published 8y ago modified 4mo ago also EUVD-2018-2979

cvss
7.1
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.2%
EPSS 2.2% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

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.

Patch / fix

  • postgresql postgresql 9.5.14, 9.6.10, 10.5
  • postgresql-10 Ubuntu 18.04 LTS 10.5-0ubuntu0.18.04
  • postgresql-9.5 Ubuntu 16.04 LTS 9.5.14-0ubuntu0.16.04

ubuntu advisories UBUNTU-CVE-2018-10925

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

  • 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
  • postgresql96-pltcl cloudforms managementengine 5.9 9.6.10-1PGDG.el7at

red hat advisories RHSA-2018:3816RHSA-2018:2565RHSA-2018:2566RHSA-2018:2511

  • 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
  • postgresql10 SLE Module for Server Applications 15, SLE Module for Basesystem 15 10.5-4.5.1

suse advisories SUSE-SU-2018:3377-1SUSE-SU-2018:2564-1

  • postgresql10 openSUSE Tumbleweed 10.18-1.3
  • postgresql11 openSUSE Tumbleweed 11.13-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-2024:11185-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-10925

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-10925 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 Fencer

Vendor 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-10925 updated cvss 7.1

postgresql: Missing authorization and memory disclosure in INSERT ... ON CONFLICT DO UPDATE statements

  • Red Hat CloudForms Management Engine 5 postgresql94, postgresql94-libs, postgresql94-test, postgresql94-pltcl, postgresql94-plperl, postgresql94-server, +2 more Red Hat Ansible Tower 3 postgresql96
    affected: no fix available
  • Red Hat Satellite 5 rh-postgresql95-postgresql
    affected: no fix planned “Will not fix”
  • Red Hat Virtualization 4 rhvm-appliance
    affected: no fix available
  • 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 more
    fixed: vendor fix RHSA-2018:3816
  • 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 more
    +2 more products
    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
    fixed: vendor fix RHSA-2018:2511
  • 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 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more Red Hat Enterprise Linux 8 libpq, pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, +8 more Red Hat Mobile Application Platform 4 millicore Red Hat Virtualization 4 postgresql
    not 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

2.24% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.0 7.1 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD 2.0 5.5 AV:N/AC:L/Au:S/C:P/I:P/A:N

Affected products

  • PostgreSQL Global Development Group postgresql

Classification

Weakness
Technology feeds

References

Sources

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.