CVE-2019-19882
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).
EPSS 0.09% · 26.2th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:18.04:LTS | shadow | 0, 1:4.2-3.2ubuntu4, 1:4.5-1ubuntu1 |
| Ubuntu:16.04:LTS | shadow | 1:4.2-3.1ubuntu3, 1:4.2-3.1ubuntu4, 1:4.2-3.1ubuntu5 |
Exploit Intelligence
- https://bugs.archlinux.org/task/64836 (nist-nvd)
- https://bugs.gentoo.org/702252 (nist-nvd)
- https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75 (circl)
- https://github.com/shadow-maint/shadow/pull/199 (circl)
- https://github.com/void-linux/void-packages/pull/17580 (circl)
- GLSA-202008-09 (circl)
Timeline
- Dec 18, 2019 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- May 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2019-19882 third-party-advisory
- https://github.com/shadow-maint/shadow/pull/199 third-party-advisory
- https://github.com/void-linux/void-packages/pull/17580 third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2019-19882 third-party-advisory