{"id":"CVE-2017-12172","revision":null,"records":[{"revision":"ddd34e612a984cf984362a0f09c5cb16","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2017-12172","aliases":[],"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 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run ar…","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.","state":0,"publishedAt":"2017-11-22T19:00:00+00:00","modifiedAt":"2026-10-15T15:51:56.38+00:00","affected":[{"ecosystem":"Vendor product","name":"postgresql","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"postgresql\",\n                    \"vendor\": \"Red Hat, Inc.\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"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\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://access.redhat.com/errata/RHSA-2017:3402","http://www.securityfocus.com/bid/101949","https://access.redhat.com/errata/RHSA-2017:3403","https://access.redhat.com/errata/RHSA-2017:3405","https://www.postgresql.org/support/security/","http://www.securitytracker.com/id/1039752","https://www.postgresql.org/about/news/1801/","https://access.redhat.com/errata/RHSA-2017:3404"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2017-12172","license":"CVE Program Terms of Use","key":"cve-program:CVE-2017-12172","identifiers":["CVE-2017-12172"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T16:04:20.3337991+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-09T16:04:20.3337991+00:00","lastSuccessAt":"2026-11-09T16:04:20.5364816+00:00","error":null,"lastVerifiedAt":"2026-11-09T16:04:20.536482+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-24e6fde7b744113daefb8f6135035fb8a5c69c9617c9c0d40574a0376532ffd3-777857808926e2a726f3d34c96aa6f2fd3a523fc0c567e8eb45c32df9990ab78","complete":true,"records":421467,"lastAttemptAt":"2026-11-09T16:02:15.9126814+00:00","lastSuccessAt":"2026-11-09T16:02:15.8355527+00:00","error":null,"lastVerifiedAt":"2026-11-09T16:02:15.9126814+00:00","snapshotPublishedAt":"2026-11-09T15:23:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-54237df0f49d48dfb07a056428a01d7e","complete":false,"records":13655,"lastAttemptAt":"2026-11-09T16:16:34.3060476+00:00","lastSuccessAt":"2026-11-09T16:16:34.302+00:00","error":"7 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-09T16:16:34.302+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13364,"expectedIdentifiers":13707,"failedIdentifiers":7},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T16:04:20.3337991+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T16:04:20.3337991+00:00","lastSuccessAt":"2026-11-09T16:04:20.5371945+00:00","error":null,"lastVerifiedAt":"2026-11-09T16:04:20.5371945+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8cc05ce4cf7c4475af30990d730fa017","complete":true,"records":13667,"lastAttemptAt":"2026-11-09T16:04:33.7462569+00:00","lastSuccessAt":"2026-11-09T16:04:33.741+00:00","error":null,"lastVerifiedAt":"2026-11-09T16:04:33.741+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13707,"expectedIdentifiers":13707,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-09T16:04:20.1708791+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-09T16:04:20.1708791+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T16:02:16.0730731+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-09T16:02:16.0730731+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-c905fa1bd26c7b261e77cc7202a86dc766ff31c2b096b501f3bf44f561e34970","complete":true,"records":3063,"lastAttemptAt":"2026-11-09T16:04:20.2823229+00:00","lastSuccessAt":"2026-11-09T12:02:21.7931207+00:00","error":null,"lastVerifiedAt":"2026-11-09T16:04:20.2823229+00:00","snapshotPublishedAt":"2026-11-09T11:18:00+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-e88565d90b43c4a1bda916e33427c1b6f49f68cfbb010c54e1b5410320dbe0cf","complete":true,"records":231301,"lastAttemptAt":"2026-11-09T16:04:20.0393138+00:00","lastSuccessAt":"2026-11-09T16:04:18.2915457+00:00","error":null,"lastVerifiedAt":"2026-11-09T16:04:20.0393138+00:00","snapshotPublishedAt":"2026-11-09T15:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}