CVE-2019-19882Shadow Project Shadow
High 7.8
Follow: this CVE · Shadow Project · Shadow Project Shadow We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 45
- Auth required
- Yes
- Published
- Dec 18, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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).
What to do
- Apply the vendor's security update for Shadow.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| shadow_project | shadow | 4.8 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.archlinux.org Exploit Third Party Advisory
- bugs.gentoo.org Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- security.gentoo.org