CVE-2021-23239

low
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
2.5

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-23239

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2021:1723

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-23239.html

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-202101-25

OS impact

OSVersionStatusFixed in
arch archfixed1.9.5.p2-1
suse slesaffected
rockylinux rocky8fixed
debian debianbookwormfixed1.9.5-1
debian debianbullseyefixed1.9.5-1
debian debianforkyfixed1.9.5-1
debian debiansidfixed1.9.5-1
debian debiantrixiefixed1.9.5-1

References

Verify integrity in audit chain (admin only). AS-IS.