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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sudo (PTS)stretch1.8.19p1-2.1+deb9u2vulnerable
stretch (security)1.8.19p1-2.1+deb9u3vulnerable
buster, buster (security)1.8.27-1+deb10u3vulnerable
bullseye, sid1.9.5p2-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sudosource(unstable)1.9.5-1

Notes

[buster] - sudo <no-dsa> (Minor issue)
[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