CVE-2019-19882

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-19882
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-19882.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-19882
Related
Published
2019-12-18T16:15:26Z
Modified
2025-01-08T10:24:44.907901Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Debian:11 / shadow

Package

Name
shadow
Purl
pkg:deb/debian/shadow?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.8.1-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / shadow

Package

Name
shadow
Purl
pkg:deb/debian/shadow?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.8.1-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / shadow

Package

Name
shadow
Purl
pkg:deb/debian/shadow?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.8.1-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Git / github.com/shadow-maint/shadow

Affected ranges

Type
GIT
Repo
https://github.com/shadow-maint/shadow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

4.*

4.2.1
4.3.0
4.3.1
4.4
4.5
4.6
4.7