Vulnerability 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).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Shadow Project | Shadow | 4.8 |
Related Weaknesses (CWE)
References
- https://bugs.archlinux.org/task/64836ExploitThird Party Advisory
- https://bugs.gentoo.org/702252ExploitThird Party Advisory
- https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773PatchThird Party Advisory
- https://github.com/shadow-maint/shadow/pull/199PatchThird Party Advisory
- https://github.com/void-linux/void-packages/pull/17580PatchThird Party Advisory
- https://security.gentoo.org/glsa/202008-09
- https://bugs.archlinux.org/task/64836ExploitThird Party Advisory
- https://bugs.gentoo.org/702252ExploitThird Party Advisory
- https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773PatchThird Party Advisory
- https://github.com/shadow-maint/shadow/pull/199PatchThird Party Advisory
- https://github.com/void-linux/void-packages/pull/17580PatchThird Party Advisory
- https://security.gentoo.org/glsa/202008-09
FAQ
What is CVE-2019-19882?
CVE-2019-19882 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 affec...
How severe is CVE-2019-19882?
CVE-2019-19882 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-19882?
Check the references section above for vendor advisories and patch information. Affected products include: Shadow Project Shadow.