CVE-2017-12172
Last modified
CVE-2017-12172 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.59% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| 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 |
Showing 50 of 76 affected configurations. See NVD for the full list.
References
- http://www.securityfocus.com/bid/101949Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039752Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3402Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3403Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3404Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3405Issue Tracking, Third Party Advisory
- https://www.postgresql.org/about/news/1801/Issue Tracking, Vendor Advisory
- https://www.postgresql.org/support/security/Issue Tracking, Vendor Advisory
- http://www.securityfocus.com/bid/101949Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039752Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3402Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3403Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3404Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3405Issue Tracking, Third Party Advisory
- https://www.postgresql.org/about/news/1801/Issue Tracking, Vendor Advisory
- https://www.postgresql.org/support/security/Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-12172?
How severe is CVE-2017-12172?
How do I fix CVE-2017-12172?
Are you affected by CVE-2017-12172?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
