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"...
HighCVSS 8.1
EPSS 2.2%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| postgresql | >= 9.5.0, < 9.5.14 | 9.5.14 |
| postgresql | >= 9.6.0, < 9.6.10 | 9.6.10 |
| postgresql | >= 10.0, < 10.5 | 10.5 |
| PostgreSQL Global Development Group PostgreSQL | = 10.5 | No fix listed |
| PostgreSQL Global Development Group PostgreSQL | = 9.6.10 | No fix listed |
| PostgreSQL Global Development Group PostgreSQL | = 9.5.14 | No fix listed |
| PostgreSQL Global Development Group PostgreSQL | = 9.4.19 | No fix listed |
| PostgreSQL Global Development Group PostgreSQL | = 9.3.24 | No fix listed |
| alpine/postgresql(Alpine:v3.10) | >= 10.0, < 10.5-r0 | 10.5-r0 |
| alpine/postgresql(Alpine:v3.11) | >= 10.0, < 10.5-r0 | 10.5-r0 |
| alpine/postgresql(Alpine:v3.12) | >= 10.0, < 10.5-r0 | 10.5-r0 |
| alpine/postgresql(Alpine:v3.13) | >= 10.0, < 10.5-r0 | 10.5-r0 |
| alpine/postgresql(Alpine:v3.14) | >= 10.0, < 10.5-r0 | 10.5-r0 |
| alpine/postgresql(Alpine:v3.5) | >= 9.6.0, < 9.6.10-r0 | 9.6.10-r0 |
| alpine/postgresql(Alpine:v3.6) | >= 9.6.0, < 9.6.10-r0 | 9.6.10-r0 |
| alpine/postgresql(Alpine:v3.7) | >= 10.0, < 10.5-r0 | 10.5-r0 |
| alpine/postgresql(Alpine:v3.8) | >= 10.0, < 10.5-r0 | 10.5-r0 |
| alpine/postgresql(Alpine:v3.9) | >= 10.0, < 10.5-r0 | 10.5-r0 |
| alpine/postgresql14(Alpine:v3.15) | < 10.5-r0 | 10.5-r0 |
| alpine/postgresql14(Alpine:v3.16) | < 10.5-r0 | 10.5-r0 |
| alpine/postgresql14(Alpine:v3.17) | < 10.5-r0 | 10.5-r0 |
Show 7 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/postgresql14(Alpine:v3.18) | < 10.5-r0 | 10.5-r0 |
| alpine/postgresql14(Alpine:v3.19) | < 10.5-r0 | 10.5-r0 |
| alpine/postgresql14(Alpine:v3.20) | < 10.5-r0 | 10.5-r0 |
| alpine/postgresql15(Alpine:v3.17) | < 10.5-r0 | 10.5-r0 |
| alpine/postgresql15(Alpine:v3.18) | < 10.5-r0 | 10.5-r0 |
| alpine/postgresql15(Alpine:v3.19) | < 10.5-r0 | 10.5-r0 |
| alpine/postgresql15(Alpine:v3.20) | < 10.5-r0 | 10.5-r0 |
References
- openSUSE-SU-2020:1227 mailing-list third-party-advisory vendor-advisory
- 105052 third-party-advisory vdb-entry
- 1041446 third-party-advisory vdb-entry
- RHSA-2018:2511 third-party-advisory vendor-advisory
- RHSA-2018:2565 third-party-advisory vendor-advisory
- RHSA-2018:2566 third-party-advisory vendor-advisory
- RHSA-2018:3816 third-party-advisory vendor-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- GLSA-201810-08 third-party-advisory vendor-advisory
- USN-3744-1 third-party-advisory vendor-advisory
- DSA-4269 third-party-advisory vendor-advisory
- www.postgresql.org vendor-advisory
- security.alpinelinux.org vendor-advisory