
CVE catalog
CVE-2017-12172
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 sup
- Severity
- High · CVSS 7.3
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.59% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Cpe | postgresql | Not reported | Not reported | unknown |
| Suse | postgresql94-libs | linux enterprise software development kit 11 sp4 | 9.4.15-0.23.10.1 | fixed |
| Suse | postgresql94 | linux enterprise server 11 sp4 | 9.4.15-0.23.10.1 | fixed |
| Suse | postgresql94-libs | linux enterprise server 11 sp4 | 9.4.15-0.23.10.1 | fixed |
| Suse | postgresql94 | linux enterprise server for sap applications 11 sp4 | 9.4.15-0.23.10.1 | fixed |
| Suse | postgresql94-libs | linux enterprise server for sap applications 11 sp4 | 9.4.15-0.23.10.1 | fixed |
| Suse | postgresql94 | linux enterprise desktop 12 sp2 | 9.4.15-21.13.1 | fixed |
| Suse | postgresql94 | linux enterprise server for raspberry pi 12 sp2 | 9.4.15-21.13.1 | fixed |
| Suse | postgresql94-libs | linux enterprise software development kit 12 sp2 | 9.4.15-21.13.1 | fixed |
| Suse | postgresql94 | linux enterprise server 12 sp2 | 9.4.15-21.13.1 | fixed |
| Suse | postgresql94 | linux enterprise server for sap applications 12 sp2 | 9.4.15-21.13.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Suse | postgresql94-libs | rpm | linux enterprise software development kit 11 sp4 | 9.4.15-0.23.10.1 | Not reported | SUSE-SU-2018:0077-1 | Not reported |
| Suse | postgresql94 | rpm | linux enterprise server 11 sp4 | 9.4.15-0.23.10.1 | Not reported | SUSE-SU-2018:0077-1 | Not reported |
| Suse | postgresql94-libs | rpm | linux enterprise server 11 sp4 | 9.4.15-0.23.10.1 | Not reported | SUSE-SU-2018:0077-1 | Not reported |
| Suse | postgresql94 | rpm | linux enterprise server for sap applications 11 sp4 | 9.4.15-0.23.10.1 | Not reported | SUSE-SU-2018:0077-1 | Not reported |
| Suse | postgresql94-libs | rpm | linux enterprise server for sap applications 11 sp4 | 9.4.15-0.23.10.1 | Not reported | SUSE-SU-2018:0077-1 | Not reported |
| Suse | postgresql94 | rpm | linux enterprise desktop 12 sp2 | 9.4.15-21.13.1 | Not reported | SUSE-SU-2018:0081-1 | Not reported |
| Suse | postgresql94 | rpm | linux enterprise server for raspberry pi 12 sp2 | 9.4.15-21.13.1 | Not reported | SUSE-SU-2018:0081-1 | Not reported |
| Suse | postgresql94-libs | rpm | linux enterprise software development kit 12 sp2 | 9.4.15-21.13.1 | Not reported | SUSE-SU-2018:0081-1 | Not reported |
| Suse | postgresql94 | rpm | linux enterprise server 12 sp2 | 9.4.15-21.13.1 | Not reported | SUSE-SU-2018:0081-1 | Not reported |
| Suse | postgresql94 | rpm | linux enterprise server for sap applications 12 sp2 | 9.4.15-21.13.1 | Not reported | SUSE-SU-2018:0081-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2017_3402.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2017-12172]
- [https://osv.dev/vulnerability/SUSE-SU-2018:0077-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:0081-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-12172.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2017/wid-sec-w-2024-0143.json]
[CERT-Bund public advisories] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]