CVE-2018-10925

HIGHCVSS 8.1/10EPSS 2.24%

Last modified

CVE-2018-10925 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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". EPSS estimates a 2.24% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.1/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

EPSS Probability
2.24%

80.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
DebianDebian Linux9.0
PostgresqlPostgresql>= 9.5.0, < 9.5.14
PostgresqlPostgresql>= 9.6.0, < 9.6.10
PostgresqlPostgresql>= 10.0, < 10.5

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-10925?
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.
How severe is CVE-2018-10925?
CVE-2018-10925 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 2.24% probability of exploitation in the next 30 days.
How do I fix CVE-2018-10925?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-10925?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST