CVE-2019-19882
HIGH 7.8CVSS 3.1shadow 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).
- Published
- 18 Dec 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-732
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.9 | AV:L/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | shadow_project | shadowcpe:2.3:a:shadow_project:shadow:4.8:*:*:*:*:*:*:* |
= 4.8 |
References
- https://bugs.archlinux.org/task/64836 · Exploit, Third Party Advisory
- https://bugs.gentoo.org/702252 · Exploit, Third Party Advisory
- https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75 · Patch, Third Party Advisory
- https://github.com/shadow-maint/shadow/pull/199 · Patch, Third Party Advisory
- https://github.com/void-linux/void-packages/pull/17580 · Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202008-09
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 18 Dec 2019)