# CVE-2021-23239: The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning…

- Severity: Low 2.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.00%, higher than 63% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-01-12T00:00:00.000Z
- Modified: 2026-06-17T03:38:27.750Z
- Weaknesses: CWE-59
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sudo_project sudo: before 1.8.32; from 1.9.0 before 1.9.5
- netapp cloud_backup: no versions given
- netapp hci_management_node: no versions given
- netapp solidfire: no versions given
- fedoraproject fedora: 32; 33
- debian debian_linux: 10.0

## Every score

- NVD: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 1.9 Low `AV:L/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239> (exploit, issue-tracking, third-party-advisory)
- <https://www.sudo.ws/stable.html#1.9.5> (release-notes, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/> (vendor-advisory)
- <https://security.gentoo.org/glsa/202101-33> (third-party-advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210129-0010/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00007.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-23239](https://www.cve.org/CVERecord?id=CVE-2021-23239), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-23239](https://nvd.nist.gov/vuln/detail/CVE-2021-23239), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23239 · Whole record: https://cve.day/CVE-2021-23239.json · Rebuilt by cve.day 2026-11-25T22:57:59.186Z
