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 a sudo_edit.c race condition in replacing a user-controlled
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.04% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 63.5% of scored records. A rank, not a probability.
- NVD base score
- 2.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-01-12 00:00Z5 YR AGO
- Last updated
- 2024-08-03 19:05Z2 YR AGO
- Reserved
- 2021-01-07
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 7c3c5965d1a87402a8ab1428b3601af67d624fc441e2b2450e23a2ef4af0eff8
05 Affected products
06 References
- bugzilla.suse.comhttps://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239
- www.sudo.wshttps://www.sudo.ws/stable.html#1.9.5
- lists.fedoraproject.orgFEDORA-2021-324479472chttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EE42Y35SMJOLONAIBNYNFC7J44UUZ2Y6/
- lists.fedoraproject.orgFEDORA-2021-234d14bfcchttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GMY4VSSBIND7VAYSN6T7XIWJRWG4GBB3/
- security.gentoo.orgGLSA-202101-33https://security.gentoo.org/glsa/202101-33
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210129-0010/
- lists.debian.org[debian-lts-announce] 20221107 [SECURITY] [DLA 3181-1] sudo security updatehttps://lists.debian.org/debian-lts-announce/2022/11/msg00007.html
07 Fixed in
Arch Linux
- sudo Fixed in 1.9.5.p2-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- sudo Fixed in 1.9.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- sudo Fixed in 1.9.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- sudo Fixed in 1.9.5-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- sudo Fixed in 1.8.16-0ubuntu1.10
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- sudo Fixed in 1.8.21p2-3ubuntu1.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- sudo Fixed in 1.8.31-1ubuntu1.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- sudo No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.