CVE-2017-12172Postgresql
Medium 6.7
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 40
- CVSS 3.0
- 6.7
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 49
- Auth required
- Yes
- Published
- Nov 22, 2017
- Updated
- Oct 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run arbitrary code under that system account. PostgreSQL provides a script for starting the database server during system boot. Packages of PostgreSQL for many operating systems provide their own, packager-authored startup implementations. Several implementations use a log file name that the database superuser can replace with a symbolic link. As root, they open(), chmod() and/or chown() this log file name. This often suffices for the database superuser to escalate to root privileges when root starts the server.
What to do
- Apply the vendor's security update for Postgresql.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | 9.2 |
| postgresql | postgresql | 9.2.1 |
| postgresql | postgresql | 9.2.2 |
| postgresql | postgresql | 9.2.3 |
| postgresql | postgresql | 9.2.4 |
| postgresql | postgresql | 9.2.5 |
| postgresql | postgresql | 9.2.6 |
| postgresql | postgresql | 9.2.7 |
| postgresql | postgresql | 9.2.8 |
| postgresql | postgresql | 9.2.9 |
| postgresql | postgresql | 9.2.10 |
| postgresql | postgresql | 9.2.11 |
| postgresql | postgresql | 9.2.12 |
| postgresql | postgresql | 9.2.13 |
| postgresql | postgresql | 9.2.14 |
| postgresql | postgresql | 9.2.15 |
| postgresql | postgresql | 9.2.16 |
| postgresql | postgresql | 9.2.17 |
| postgresql | postgresql | 9.2.18 |
| postgresql | postgresql | 9.2.19 |
| postgresql | postgresql | 9.2.20 |
| postgresql | postgresql | 9.2.21 |
| postgresql | postgresql | 9.2.22 |
| postgresql | postgresql | 9.2.23 |
| postgresql | postgresql | 9.3 |
| postgresql | postgresql | 9.3.1 |
| postgresql | postgresql | 9.3.2 |
| postgresql | postgresql | 9.3.3 |
| postgresql | postgresql | 9.3.4 |
| postgresql | postgresql | 9.3.5 |
| postgresql | postgresql | 9.3.6 |
| postgresql | postgresql | 9.3.7 |
| postgresql | postgresql | 9.3.8 |
| postgresql | postgresql | 9.3.9 |
| postgresql | postgresql | 9.3.10 |
| postgresql | postgresql | 9.3.11 |
| postgresql | postgresql | 9.3.12 |
| postgresql | postgresql | 9.3.13 |
| postgresql | postgresql | 9.3.14 |
| postgresql | postgresql | 9.3.15 |
| postgresql | postgresql | 9.3.16 |
| postgresql | postgresql | 9.3.17 |
| postgresql | postgresql | 9.3.18 |
| postgresql | postgresql | 9.3.19 |
| postgresql | postgresql | 9.4 |
| postgresql | postgresql | 9.4.1 |
| postgresql | postgresql | 9.4.2 |
| postgresql | postgresql | 9.4.3 |
| postgresql | postgresql | 9.4.4 |
| postgresql | postgresql | 9.4.5 |
| postgresql | postgresql | 9.4.6 |
| postgresql | postgresql | 9.4.7 |
| postgresql | postgresql | 9.4.8 |
| postgresql | postgresql | 9.4.9 |
| postgresql | postgresql | 9.4.10 |
| postgresql | postgresql | 9.4.11 |
| postgresql | postgresql | 9.4.12 |
| postgresql | postgresql | 9.4.13 |
| postgresql | postgresql | 9.4.14 |
| postgresql | postgresql | 9.5 |
and 16 more in the JSON
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Issue Tracking Third Party Advisory
- access.redhat.com Issue Tracking Third Party Advisory
- access.redhat.com Issue Tracking Third Party Advisory
- access.redhat.com Issue Tracking Third Party Advisory
- www.postgresql.org Issue Tracking Vendor Advisory
- www.postgresql.org Issue Tracking Vendor Advisory