CVE-2021-23239

libnss-sudo: The sudoedit personality of Sudo before 1.9.5 may allow a localunprivileged user to perform arbitrary directory-exist...

CVE-2021-23239 is fixed in 3 products on 1 platform, first by sudo 1.8.21p2-3ubuntu1.4, released January 26, 2021. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
2.5
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0104
64th percentile

The sudoedit personality of Sudo before 1.9.5 may allow a localunprivileged user to perform arbitrary directory-existence tests by winninga sudo_edit.c race condition in replacing a user-controlled directory by asymlink to an arbitrary path.

Where it's fixed

ProductFixed inFixReleased
Linux
libnss-sudo · Ubuntu 24.10 (oracular) 1.9.4p2-2ubuntu2 libnss-sudo 1.9.4p2-2ubuntu2 Jan 16, 2026
libnss-sudo · Ubuntu 25.04 (plucky) 1.9.4p2-2ubuntu2 libnss-sudo 1.9.4p2-2ubuntu2 Jan 16, 2026
sudo · RHEL 8 0:1.8.29-7.el8 RHSA-2021:1723 May 18, 2021
sudo · Ubuntu 18.04.6 LTS (bionic) 1.8.21p2-3ubuntu1.4 sudo 1.8.21p2-3ubuntu1.4 Jan 26, 2021
sudo · Ubuntu 20.04 LTS (focal) 1.8.31-1ubuntu1.2 sudo 1.8.31-1ubuntu1.2 Jan 26, 2021
sudo · Ubuntu 24.10 (oracular) 1.9.4p2-2ubuntu2 sudo 1.9.4p2-2ubuntu2 Jan 16, 2026
sudo · Ubuntu 25.04 (plucky) 1.9.4p2-2ubuntu2 sudo 1.9.4p2-2ubuntu2 Jan 16, 2026
sudo · ol 8 0:1.8.29-7.el8 ELSA-2021-1723 May 25, 2021
sudo-ldap · Ubuntu 18.04.6 LTS (bionic) 1.8.21p2-3ubuntu1.4 sudo-ldap 1.8.21p2-3ubuntu1.4 Jan 26, 2021
sudo-ldap · Ubuntu 20.04 LTS (focal) 1.8.31-1ubuntu1.2 sudo-ldap 1.8.31-1ubuntu1.2 Jan 26, 2021
sudo-ldap · Ubuntu 24.10 (oracular) 1.9.4p2-2ubuntu2 sudo-ldap 1.9.4p2-2ubuntu2 Jan 16, 2026
sudo-ldap · Ubuntu 25.04 (plucky) 1.9.4p2-2ubuntu2 sudo-ldap 1.9.4p2-2ubuntu2 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.