| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-1964-1, DSA-4543-1 |
| Debian Bugs | 942322 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| sudo (PTS) | bullseye | 1.9.5p2-3+deb11u1 | fixed |
| bullseye (security) | 1.9.5p2-3+deb11u2 | fixed | |
| bookworm, bookworm (security) | 1.9.13p3-1+deb12u2 | fixed | |
| trixie | 1.9.16p2-3 | fixed | |
| forky, sid | 1.9.17p2-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 | 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)