{"api_version":"1","generated_at":"2026-07-24T00:32:43+00:00","cve":"CVE-2019-19882","urls":{"html":"https://cve.report/CVE-2019-19882","api":"https://cve.report/api/cve/CVE-2019-19882.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-19882","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-19882"},"summary":{"title":"CVE-2019-19882","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).","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-12-18 16:15:00","updated_at":"2020-08-25 15:15:00"},"problem_types":["CWE-732"],"metrics":[],"references":[{"url":"https://security.gentoo.org/glsa/202008-09","name":"GLSA-202008-09","refsource":"GENTOO","tags":[],"title":"Shadow: Privilege escalation (GLSA 202008-09) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.archlinux.org/task/64836","name":"https://bugs.archlinux.org/task/64836","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"FS#64836 : [shadow] useradd, groupadd, etc. are now setuid-root","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75","name":"https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Fix failing chmod calls on installation for suidubins · shadow-maint/shadow@edf7547 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.gentoo.org/702252","name":"https://bugs.gentoo.org/702252","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"702252 – (CVE-2019-19882) <sys-apps/shadow-4.8-r3[pam] installs setuid binaries with permissive pam configuration allowing user/group management without authentication (CVE-2019-19882)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/shadow-maint/shadow/pull/199","name":"https://github.com/shadow-maint/shadow/pull/199","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Don't auto-enable ACCT_TOOLS_SETUID if PAM is detected by falconindy · Pull Request #199 · shadow-maint/shadow · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/void-linux/void-packages/pull/17580","name":"https://github.com/void-linux/void-packages/pull/17580","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"shadow: reduce the number of suid programs by Duncaen · Pull Request #17580 · void-linux/void-packages · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-19882","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-19882","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"19882","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shadow_project","cpe5":"shadow","cpe6":"4.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"19882","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shadow_project","cpe5":"shadow","cpe6":"4.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-19882","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75","refsource":"MISC","name":"https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75"},{"url":"https://github.com/shadow-maint/shadow/pull/199","refsource":"MISC","name":"https://github.com/shadow-maint/shadow/pull/199"},{"url":"https://bugs.archlinux.org/task/64836","refsource":"MISC","name":"https://bugs.archlinux.org/task/64836"},{"url":"https://bugs.gentoo.org/702252","refsource":"MISC","name":"https://bugs.gentoo.org/702252"},{"url":"https://github.com/void-linux/void-packages/pull/17580","refsource":"MISC","name":"https://github.com/void-linux/void-packages/pull/17580"},{"refsource":"GENTOO","name":"GLSA-202008-09","url":"https://security.gentoo.org/glsa/202008-09"}]}},"nvd":{"publishedDate":"2019-12-18 16:15:00","lastModifiedDate":"2020-08-25 15:15:00","problem_types":["CWE-732"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":6.9},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:shadow_project:shadow:4.8:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"19882","Ordinal":"163593","Title":"CVE-2019-19882","CVE":"CVE-2019-19882","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"19882","Ordinal":"1","NoteData":"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).","Type":"Description","Title":null},{"CveYear":"2019","CveId":"19882","Ordinal":"2","NoteData":"2019-12-18","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"19882","Ordinal":"3","NoteData":"2020-08-25","Type":"Other","Title":"Modified"}]}}}