{"id":"CVE-2017-12172","published":"2017-11-22T19:00:00Z","modified":"2026-10-15T15:51:56Z","title":"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…","vendor":"Red Hat","product":"postgresql","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00586,"percentile":0.4895,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:3402","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/101949","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3403","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3405","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.postgresql.org/support/security/","tags":["x_refsource_MISC"]},{"url":"http://www.securitytracker.com/id/1039752","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.postgresql.org/about/news/1801/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2017:3404","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":9.79}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat, Inc.","product":"postgresql","versions":["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, 9.2.x before 9.2.24"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T15:51:47.114676Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2017-3748","exploited":false,"provenance":"source"}}