{"schemaVersion":4,"id":"CVE-2019-19882","aliases":["UBUNTU-CVE-2019-19882","DEBIAN-CVE-2019-19882"],"status":"published","duplicateOf":null,"title":null,"description":"shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access because setuid programs are misconfigured. Specifically, this affects shadow 4.8 when compiled using --with-libpam but without explicitly passing --disable-account-tools-setuid, and without a PAM configuration suitable for use with setuid account management tools. This combination leads to account management tools (groupadd, groupdel, groupmod, useradd, userdel, usermod) that can easily be used by unprivileged local users to escalate privileges to root in multiple ways. This issue became much more relevant in approximately December 2019 when an unrelated bug was fixed (i.e., the chmod calls to suidusbins were fixed in the upstream Makefile which is now included in the release version 4.8).","dates":{"published":"2019-12-18T15:07:59.000Z","modified":"2024-08-05T02:32:09.316Z","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 · 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":6.9,"severity":"medium","vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00515,"percentile":0.45365,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00515},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00515,"percentile":0.45365}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00515,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00515,"percentile":0.45365}]},"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_7D22B8586D47751B","name":"Exploit Reference (bugs.archlinux.org)","source":"reference","url":"https://bugs.archlinux.org/task/64836","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_6514B2F62B4B96EF","name":"Exploit Reference (bugs.gentoo.org)","source":"reference","url":"https://bugs.gentoo.org/702252","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"debian","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/shadow","purlType":"deb","versions":[{"text":"< 1:4.8.1-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:4.8.1-1","endInclusive":false}}],"versionsText":"< 1:4.8.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/shadow","purlType":"deb","versions":[{"text":"< 1:4.2-3.1ubuntu5.4","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:4.2-3.1ubuntu5.4","endInclusive":false}},{"text":"< 1:4.5-1ubuntu2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:4.5-1ubuntu2","endInclusive":false}}],"versionsText":"< 1:4.2-3.1ubuntu5.4 | < 1:4.5-1ubuntu2","eol":null,"hubHref":null},{"vendor":"shadow_project","product":"shadow","name":"shadow","label":"shadow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.8","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"4.8"}}],"versionsText":"4.8","eol":null,"hubHref":"/vendor/shadow_project/shadow"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75","label":"github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75","hostname":"github.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://github.com/shadow-maint/shadow/pull/199","label":"github.com/shadow-maint/shadow/pull/199","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://bugs.archlinux.org/task/64836","label":"bugs.archlinux.org/task/64836","hostname":"bugs.archlinux.org","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://bugs.gentoo.org/702252","label":"bugs.gentoo.org/702252","hostname":"bugs.gentoo.org","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://github.com/void-linux/void-packages/pull/17580","label":"github.com/void-linux/void-packages/pull/17580","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202008-09","label":"security.gentoo.org/glsa/202008-09","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://ubuntu.com/security/CVE-2019-19882","label":"ubuntu.com/security/CVE-2019-19882","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19882","label":"www.cve.org/CVERecord?id=CVE-2019-19882","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-19882","label":"security-tracker.debian.org/tracker/CVE-2019-19882","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-12-18T15:07:59.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:32:09.316Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (reference, Date unknown)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,1,1,78],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00515,"stale":false,"promoted":null},{"type":"cvss","source":"osv_ubuntu","date":"2024-08-05T02:32:09.316Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2024-08-05T02:32:09.316Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-05T02:32:09.316Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2024-08-05T02:32:09.316Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.9,"vector":"AV:L/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false},{"type":"exploit","source":"reference","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"unknown","verified":false}],"epss":{"value":0.00515,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T04:02:19.840Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T04:02:20.356Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T04:02:20.556Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T04:00:57.992Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T04:02:18.199Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T04:02:17.270Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T04:53:55.477Z","stale":false,"partial":false}}