Name | CVE-2019-14287 |
Description | In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and USER= logging, for a "sudo -u \#$((0xffffffff))" command. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1964-1, DSA-4543-1, ELA-178-1 |
Debian Bugs | 942322 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
sudo (PTS) | jessie, jessie (lts) | 1.8.10p3-1+deb8u9 | fixed |
stretch (security) | 1.8.19p1-2.1+deb9u3 | fixed | |
stretch (lts), stretch | 1.8.19p1-2.1+deb9u6 | fixed | |
buster (security), buster, buster (lts) | 1.8.27-1+deb10u6 | fixed | |
bullseye (security), bullseye | 1.9.5p2-3+deb11u1 | fixed | |
bookworm | 1.9.13p3-1+deb12u1 | fixed | |
sid, trixie | 1.9.16p1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
sudo | source | wheezy | 1.8.5p2-1+nmu3+deb7u5 | ELA-178-1 | ||
sudo | source | jessie | 1.8.10p3-1+deb8u6 | DLA-1964-1 | ||
sudo | source | stretch | 1.8.19p1-2.1+deb9u1 | DSA-4543-1 | ||
sudo | source | buster | 1.8.27-1+deb10u1 | DSA-4543-1 | ||
sudo | source | (unstable) | 1.8.27-1.1 | 942322 |
https://www.sudo.ws/alerts/minus_1_uid.html
Patch: https://www.sudo.ws/repos/sudo/rev/83db8dba09e7
Fix test regression: https://www.sudo.ws/repos/sudo/rev/db06a8336c09
Patch: https://www.openwall.com/lists/oss-security/2019/10/15/2 (1.8.5, 1.8.10)