CVEvulnerability
CVE-2017-12172
6.7 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2017-11-22
- Last modified
- 2026-10-15
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 6.7 MEDIUM — CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-59
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.
Affected configurations
• 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
• postgresql postgresql 9.4.6
• postgresql postgresql 9.4.7
• postgresql postgresql 9.4.8
• postgresql postgresql 9.4.9
• postgresql postgresql 9.4.10
• postgresql postgresql 9.4.11
• postgresql postgresql 9.4.12
• postgresql postgresql 9.4.13
• postgresql postgresql 9.4.14
• postgresql postgresql 9.5
… and 16 more
Related
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- http://www.securityfocus.com/bid/101949 Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039752 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3402 Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3403 Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3404 Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3405 Issue 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/101949 Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039752 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:3402 Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3403 Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3404 Issue Tracking, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:3405 Issue 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