7.2

CVE-2017-12172: postgresql Link Following

CVSS: 7.2v2.0HighModified
Published 22-11-2017Last modified 15-10-2026

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.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v2.0 (NVD)
EPSS score
0.59%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 2

Timeline

  1. 22-11-2017
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last 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 versions

EPSS 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

19-09-202619-10-2026
EPSS score
0.59%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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