CVE-2019-19882: shadow_project shadow
Vulnerability summary
CVE-2019-19882 is a high (CVSS 7.8) vulnerability in shadow_project shadow. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 42.5% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 18-12-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
0.00 pp
From 0.52% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (bugs.archlinux.org)
Maturity: unknown
Exploit Reference (bugs.gentoo.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Debian1 product
- shadow< 1:4.8.1-1
Shadow_project1 product
- shadow4.8
Ubuntu1 product
- shadow< 1:4.2-3.1ubuntu5.4 | < 1:4.5-1ubuntu2
3 vendors · 3 products
References
9 links- github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75X Refsource MISCPatchThird Party Advisory