What’s Vulnerable › Vulnerabilities

CVE-2018-10925

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

How to fix

Upgrade to a fixed version: PostgreSQL 10.5, 9.5.14, 9.6.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-10925 or the next vulnerability affects your stack