# CVE-2021-23239

- Priority: **Routine**
- Reason: Not severe (CVSS 2.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-01-12 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-23239, UBUNTU-CVE-2021-23239, DEBIAN-CVE-2021-23239, DLA-3181-1
- Record: https://cvemate.com/vulnerability/CVE-2021-23239 · JSON: https://cvemate.com/vulnerability/CVE-2021-23239/json

## Description

```text
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.
```

## Signals

- CVSS: 2.5 low (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 1.001%, percentile 63.977%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine sudo (Alpine Linux): ≥ 1.9.0, \< 1.9.5p2-r0 \| ≥ 1.9.0, \< 1.9.5-r0
- debian sudo (Debian): \< 1.9.5-1 \| \< 1.8.27-1+deb10u4
- ubuntu sudo (Ubuntu): All versions (No fix recorded) \| \< 1.8.16-0ubuntu1.10 \| \< 1.8.21p2-3ubuntu1.4 \| \< 1.8.31-1ubuntu1.2
- debian debian\_linux: 10.0
- fedoraproject fedora: 32 \| 33
- netapp cloud\_backup: na
- netapp hci\_management\_node: na
- netapp solidfire: na
- sudo\_project sudo: \< 1.8.32 \| ≥ 1.9.0, \< 1.9.5

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239>
- <https://www.sudo.ws/stable.html#1.9.5>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/>
- <https://security.gentoo.org/glsa/202101-33>
- <https://security.netapp.com/advisory/ntap-20210129-0010/>
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00007.html>
- <https://security.alpinelinux.org/vuln/CVE-2021-23239>
- <https://ubuntu.com/security/CVE-2021-23239>
- <https://www.openwall.com/lists/oss-security/2021/01/11/2>
- <https://ubuntu.com/security/notices/USN-4705-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-23239>
- <https://security-tracker.debian.org/tracker/CVE-2021-23239>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23239>

---

Data as of 2026-12-05T02:45:46.365Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
