Name | CVE-2021-23239 |
Description | The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path. |
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-3181-1, ELA-728-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
sudo (PTS) | jessie, jessie (lts) | 1.8.10p3-1+deb8u9 | vulnerable |
| stretch (security) | 1.8.19p1-2.1+deb9u3 | vulnerable |
| 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 | stretch | 1.8.19p1-2.1+deb9u4 | | ELA-728-1 | |
sudo | source | buster | 1.8.27-1+deb10u4 | | DLA-3181-1 | |
sudo | source | (unstable) | 1.9.5-1 | | | |
Notes
[stretch] - sudo <no-dsa> (Minor issue)
https://www.openwall.com/lists/oss-security/2021/01/11/2
https://www.sudo.ws/repos/sudo/rev/ea19d0073c02
[jessie] - sudo <no-dsa> (Minor issue)
SuSE released a fix for sudo-1.8.10p3 so assuming jessie is vulnerable even if the code is different