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.
CVE-2017-12172
Score 6.7 from GitHub Security Advisory (severity: HIGH) published 2022-05-13. NVD baseline CVSS 6.7; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.7
- EG Score
- 6.7(medium)
- EPSS
- 43.8%
- KEV
- Not listed
Published
November 22, 2017
Last Modified
May 13, 2026
References (16)
- secalert@redhathttp://www.securityfocus.com/bid/101949
- secalert@redhathttp://www.securitytracker.com/id/1039752
- secalert@redhathttps://access.redhat.com/errata/RHSA-2017:3402
- secalert@redhathttps://access.redhat.com/errata/RHSA-2017:3403
- secalert@redhathttps://access.redhat.com/errata/RHSA-2017:3404
- secalert@redhathttps://access.redhat.com/errata/RHSA-2017:3405
- secalert@redhathttps://www.postgresql.org/about/news/1801/
- secalert@redhathttps://www.postgresql.org/support/security/
- af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/101949
- af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1039752
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3402
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3403
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3404
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:3405
- af854a3a-2127-422b-91ae-364da2661108https://www.postgresql.org/about/news/1801/
Vendor Advisories for CVE-2017-12172(4)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2017:3405Red Hat Product SecurityMedium
Red Hat Security Advisory: rh-postgresql96-postgresql security update
- RHSA-2017:3404Red Hat Product SecurityMedium
Red Hat Security Advisory: rh-postgresql95-postgresql security update
- RHSA-2017:3403Red Hat Product SecurityMedium
Red Hat Security Advisory: rh-postgresql94-postgresql security update
- RHSA-2017:3402Red Hat Product SecurityMedium
Red Hat Security Advisory: postgresql security update
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rh-postgresql95-postgresql-0:9.5.9-4.el7 | 2017-12-08 | redhat |
| redhat | rh-postgresql96-postgresql-0:9.6.5-2.el7 | 2017-12-08 | redhat |
| redhat | postgresql-0:9.2.23-3.el7_4 | 2017-12-08 | redhat |
| redhat | rh-postgresql94-postgresql-0:9.4.14-2.el7 | 2017-12-08 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Data Freshness Timeline
(refreshed 9× in last 7d / 36× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
Show 47 moreShow fewer
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:15 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 07:49 UTCEG score recompute
- 2026-05-22 07:49 UTCVendor advisory
- 2026-05-22 07:49 UTCGHSA enrichment
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
Frequently asked(5)
What is CVE-2017-12172?
When was CVE-2017-12172 disclosed?
Is CVE-2017-12172 actively exploited?
What is the CVSS score of CVE-2017-12172?
How do I remediate CVE-2017-12172?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2017-12172
Is Your Infrastructure Affected by CVE-2017-12172?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.