CVE-2018-10925
Reported by redhat · Published August 9, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql | Alpine | 10.5-r0, 9.6.10-r0 |
| postgresql15 | Alpine | 10.5-r0 |
| postgresql14 | Alpine | 10.5-r0 |
| postgresql | postgresql | 10.5, 9.6.10, 9.5.14 |
| postgresql-9.5 | Ubuntu:16.04:LTS | 9.5.14-0ubuntu0.16.04 |
| postgresql-10 | Ubuntu:18.04:LTS | 10.5-0ubuntu0.18.04 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PostgreSQL Global Development Group | postgresql | 10.5, 9.6.10, 9.5.14 |
| alpine | postgresql | 0, 0 |
| alpine | postgresql15 | 0 |
| alpine | postgresql14 | 0 |
| PostgreSQL Global Development Group | postgresql | 9.4.19, 9.6.10, 10.5 |
Timeline
- Aug 9, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (9 in total, the first dated here)
- Mar 6, 2026 Security Advisory (12 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-10925
vulnetix vdb fixes CVE-2018-10925
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-10925/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-201810-08 vendor-advisoryx_refsource_GENTOO
- DSA-4269 vendor-advisoryx_refsource_DEBIAN
- 105052 vdb-entryx_refsource_BID
- RHSA-2018:2511 vendor-advisoryx_refsource_REDHAT
- USN-3744-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- RHSA-2018:2566 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2565 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:3816 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 1041446 vdb-entryx_refsource_SECTRACK
- openSUSE-SU-2020:1227 vendor-advisoryx_refsource_SUSE