7.2
CWE
59
Advisory Published
CVE Published
Updated

CVE-2017-12172

First published: Wed Oct 04 2017(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/postgresql<9.2.24
9.2.24
redhat/postgresql<9.3.20
9.3.20
redhat/postgresql<9.4.15
9.4.15
redhat/postgresql<9.5.10
9.5.10
redhat/postgresql<9.6.6
9.6.6
redhat/postgresql<10.1
10.1
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
PostgreSQL PostgreSQL=9.5.1
PostgreSQL PostgreSQL=9.5.2
PostgreSQL PostgreSQL=9.5.3
PostgreSQL PostgreSQL=9.5.4
PostgreSQL PostgreSQL=9.5.5
PostgreSQL PostgreSQL=9.5.6
PostgreSQL PostgreSQL=9.5.7
PostgreSQL PostgreSQL=9.5.8
PostgreSQL PostgreSQL=9.5.9
PostgreSQL PostgreSQL=9.6
PostgreSQL PostgreSQL=9.6.1
PostgreSQL PostgreSQL=9.6.2
PostgreSQL PostgreSQL=9.6.3
PostgreSQL PostgreSQL=9.6.4
PostgreSQL PostgreSQL=9.6.5
PostgreSQL PostgreSQL=10

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203