CVE-2021-23239

NameCVE-2021-23239
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3181-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sudo (PTS)buster1.8.27-1+deb10u3vulnerable
buster (security)1.8.27-1+deb10u6fixed
bullseye (security), bullseye1.9.5p2-3+deb11u1fixed
bookworm1.9.13p3-1+deb12u1fixed
sid, trixie1.9.15p5-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sudosourcebuster1.8.27-1+deb10u4DLA-3181-1
sudosource(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

Search for package or bug name: Reporting problems