CVEfocus › CVE database › CVE-2019-19882

CVE-2019-19882

CVSS 7.8 HighEPSS 0.5% (higher than 37% of CVEs)Published 2019-12-18Updated 2024-08-05Assigner: mitre

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

Fixed builds are available from Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04shadowNot affected
vulnerable_code_not_present
Debian 14shadowFixed1:4.8.1-1DEBIAN-CVE-2019-19882
Debian 13shadowFixed1:4.8.1-1DEBIAN-CVE-2019-19882
Debian 12shadowFixed1:4.8.1-1DEBIAN-CVE-2019-19882
Red Hat Enterprise Linux 8shadow-utilsNot affected
Red Hat Enterprise Linux 8shadow-utils-subidNot affected
Red Hat Enterprise Linux 8shadow-utils-subid-develNot affected
Red Hat Enterprise Linux 7shadow-utilsNot affected
Red Hat Enterprise Linux 6shadow-utilsNot affected
Red Hat Enterprise Linux 5shadow-utilsNot affected

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.