Vulnerability · Published Jan 12, 2021 · Assigned by mitre
CVE-2021-23239
Low 2.5
In plain English
A low-severity security flaw in the sudo package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)2.5Low
Exploit odds (30 days)1.0%top 35.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | sudo | 1.9.5-r0 | ALPINE-CVE-2021-23239 |
| Alpine:v3.21 | sudo | 1.9.5-r0 | ALPINE-CVE-2021-23239 |
| Alpine:v3.22 | sudo | 1.9.5-r0 | ALPINE-CVE-2021-23239 |
| Alpine:v3.23 | sudo | 1.9.5-r0 | ALPINE-CVE-2021-23239 |
| Alpine:v3.24 | sudo | 1.9.5-r0 | ALPINE-CVE-2021-23239 |
| Debian:12 | sudo | 1.9.5-1 | DEBIAN-CVE-2021-23239 |
| Debian:13 | sudo | 1.9.5-1 | DEBIAN-CVE-2021-23239 |
| Debian:14 | sudo | 1.9.5-1 | DEBIAN-CVE-2021-23239 |
| Rocky Linux:8 | sudo | 0:1.8.29-7.el8 | RLSA-2021:1723 |
Affected products (as reported)
References
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23239
- https://www.sudo.ws/stable.html#1.9.5
- FEDORA-2021-324479472c vendor-advisory
- FEDORA-2021-234d14bfcc vendor-advisory
- GLSA-202101-33 vendor-advisory
- https://security.netapp.com/advisory/ntap-20210129-0010/
- [debian-lts-announce] 20221107 [SECURITY] [DLA 3181-1] sudo security update mailing-list