{"schemaVersion":3,"id":"CVE-2019-3466","aliases":["ALPINE-CVE-2019-3466","UBUNTU-CVE-2019-3466","USN-4194-1","USN-4194-2","DEBIAN-CVE-2019-3466","DLA-1994-1","DSA-4568-1"],"status":"published","duplicateOf":null,"title":null,"description":"The pg_ctlcluster script in postgresql-common in versions prior to 210 didn't drop privileges when creating socket/statistics temporary directories, which could result in local privilege escalation.","dates":{"published":"2019-11-20T17:16:16.000Z","modified":"2024-08-04T19:12:09.467Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00499,"percentile":0.41485,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00499},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00499,"percentile":0.41485}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00499,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00499,"percentile":0.41485}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_971DE8C96B05CC9A","name":"Exploit Reference (blog.mirch.io)","source":"reference","url":"https://blog.mirch.io/2019/11/15/cve-2019-3466-debian-ubuntu-pg_ctlcluster-privilege-escalation/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-269","name":"Improper Privilege Management","description":"The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/269.html"}],"affected":[{"vendor":"alpine","product":"postgresql-common","name":"postgresql-common","label":"postgresql-common","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql-common","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"19.04","noFixRecorded":false,"fixedIn":null},{"text":"19.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"16.04 | 18.04 | 19.04 | 19.10","eol":{"isEol":true,"eolDate":"2021-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16.04","label":"16.04 'Xenial Xerus' (LTS)","eolFrom":"2021-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"16.04.7"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"postgresql-common","name":"postgresql-common","label":"postgresql-common","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/postgresql-common","purlType":"deb","versions":[{"text":"< 210","noFixRecorded":false,"fixedIn":null},{"text":"< 181+deb9u3","noFixRecorded":false,"fixedIn":null},{"text":"< 200+deb10u3","noFixRecorded":false,"fixedIn":null},{"text":"< 165+deb8u4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 210 | < 181+deb9u3 | < 200+deb10u3 | < 165+deb8u4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-common","name":"postgresql-common","label":"postgresql-common","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-common","purlType":"deb","versions":[{"text":"< 173ubuntu0.3","noFixRecorded":false,"fixedIn":null},{"text":"< 190ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 154ubuntu1.1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 173ubuntu0.3 | < 190ubuntu0.1 | < 154ubuntu1.1+esm1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"postgresql","product":"postgresql-common","name":"postgresql-common","label":"postgresql-common","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 210","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 210","eol":null,"hubHref":"/vendor/postgresql/postgresql-common"}],"affectedCount":6,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://blog.mirch.io/2019/11/15/cve-2019-3466-debian-ubuntu-pg_ctlcluster-privilege-escalation/","label":"blog.mirch.io/2019/11/15/cve-2019-3466-debian-ubuntu-pg_ctlcluster-privilege-escalation/","hostname":"blog.mirch.io","tags":["X Refsource MISC","Exploit","Patch","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4194-2/","label":"usn.ubuntu.com/4194-2/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-3466","label":"security.alpinelinux.org/vuln/CVE-2019-3466","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-3466","label":"ubuntu.com/security/CVE-2019-3466","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4194-1","label":"ubuntu.com/security/notices/USN-4194-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4194-2","label":"ubuntu.com/security/notices/USN-4194-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-3466","label":"www.cve.org/CVERecord?id=CVE-2019-3466","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-3466","label":"security-tracker.debian.org/tracker/CVE-2019-3466","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-11-20T17:16:16.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T19:12:09.467Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:32:16.398Z","stale":false,"partial":false}}