CVE-2017-12172: postgresql Link Following
Vulnerability summary
CVE-2017-12172 is a high (CVSS 7.2) Link Following vulnerability in postgresql. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 47% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 2Timeline
- 22-11-2017PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
0.00 pp
From 0.59% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Postgresql1 product
- postgresqlEOL9.2 | 9.2.1 | 9.2.2 | 9.2.3 | 9.2.4 | 9.2.5 | 9.2.6 | 9.2.7 | 9.2.8 | 9.2.9 | 9.2.10 | 9.2.11 | 9.2.12 | 9.2.13 | 9.2.14 | 9.2.15 | 9.2.16 | 9.2.17 | 9.2.18 | 9.2.19 | 9.2.20 | 9.2.21 | 9.2.22 | 9.2.23 | 9.3 | 9.3.1 | 9.3.2 | 9.3.3 | 9.3.4 | 9.3.5 | 9.3.6 | 9.3.7 | 9.3.8 | 9.3.9 | 9.3.10 | 9.3.11 | 9.3.12 | 9.3.13 | 9.3.14 | 9.3.15 | 9.3.16 | 9.3.17 | 9.3.18 | 9.3.19 | 9.4 | 9.4.1 | 9.4.2 | 9.4.3 | 9.4.4 | 9.4.5 | 9.4.6 | 9.4.7 | 9.4.8 | 9.4.9 | 9.4.10 | 9.4.11 | 9.4.12 | 9.4.13 | 9.4.14 | 9.5 | 9.5.1 | 9.5.2 | 9.5.3 | 9.5.4 | 9.5.5 | 9.5.6 | 9.5.7 | 9.5.8 | 9.5.9 | 9.6 | 9.6.1 | 9.6.2 | 9.6.3 | 9.6.4 | 9.6.5 | 10
Red hat, inc.1 product
- postgresql10.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, 9.2.x before 9.2.24
2 vendors · 2 products
References
8 links- access.redhat.com/errata/RHSA-2017:3402Vendor AdvisoryX Refsource REDHATIssue TrackingThird Party Advisory
- access.redhat.com/errata/RHSA-2017:3403Vendor AdvisoryX Refsource REDHATIssue TrackingThird Party Advisory
- access.redhat.com/errata/RHSA-2017:3405Vendor AdvisoryX Refsource REDHATIssue TrackingThird Party Advisory
- access.redhat.com/errata/RHSA-2017:3404Vendor AdvisoryX Refsource REDHATIssue TrackingThird Party Advisory