Skip to content

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 affec...

HighCVSS 7.8 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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).

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/shadow(Debian 12) < 1:4.8.1-1 1:4.8.1-1 Fixed
debian/shadow(Debian 13) < 1:4.8.1-1 1:4.8.1-1 Fixed
debian/shadow(Debian 14) < 1:4.8.1-1 1:4.8.1-1 Fixed
ubuntu/shadow(Ubuntu 16.04) < 1:4.2-3.1ubuntu5.4; = 1:4.1.5.1-1.1ubuntu7; = 1:4.2-3.1ubuntu1; = 1:4.2-3.1ubuntu2 +5 more 1:4.2-3.1ubuntu5.4 Fixed
ubuntu/shadow(Ubuntu 18.04) < 1:4.5-1ubuntu2; = 1:4.2-3.2ubuntu4; = 1:4.5-1ubuntu1 1:4.5-1ubuntu2 Fixed
shadow project shadow = 4.8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/shadow(Debian:12) < 1:4.8.1-1 1:4.8.1-1
debian/shadow(Debian:13) < 1:4.8.1-1 1:4.8.1-1
debian/shadow(Debian:14) < 1:4.8.1-1 1:4.8.1-1
shadow project shadow = 4.8 No fix listed
ubuntu/shadow(Ubuntu:16.04) < 1:4.2-3.1ubuntu5.4 1:4.2-3.1ubuntu5.4
ubuntu/shadow(Ubuntu:16.04) = 1:4.1.5.1-1.1ubuntu7 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu1 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu2 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu3 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu4 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu5 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu5.2 No fix listed
ubuntu/shadow(Ubuntu:16.04) = 1:4.2-3.1ubuntu5.3 No fix listed
ubuntu/shadow(Ubuntu:18.04) < 1:4.5-1ubuntu2 1:4.5-1ubuntu2
ubuntu/shadow(Ubuntu:18.04) = 1:4.2-3.2ubuntu4 No fix listed
ubuntu/shadow(Ubuntu:18.04) = 1:4.5-1ubuntu1 No fix listed

References