VDB
ALPINE-CVE-2021-23239
ALPINE-CVE-2021-23239
PUBLISHED
CVSS 2.5 LOW
Record from OSV · Published January 12, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| sudo | Alpine:v3.11 | 1.9.5p2-r0, 1.9.5 |
| sudo | Alpine:v3.13 | 1.9.5-r0 |
| sudo | Alpine:v3.15 | 1.9.5-r0 |
| sudo | Alpine:v3.14 | 1.9.5-r0 |
| sudo | Alpine:v3.10 | 1.9.5p2-r0, 1.9.5 |
| sudo | Alpine:v3.12 | 1.9.5-r0 |
Risk scores
CVSS 3.1
2.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.11 | sudo | 0, 1.9.0, 1.8.16-r0 |
| Alpine:v3.13 | sudo | 1.8.0-r1, 1.9.0, 1.8.1-r0 |
| Alpine:v3.15 | sudo | 1.7.2_p4-r0, 1.7.4_p2-r0, 1.7.4_p3-r0 |
| Alpine:v3.14 | sudo | 0, 1.6.9_p17-r1, 1.7.0-r0 |
| Alpine:v3.10 | sudo | 1.9.0, 1.8.18-r0, 1.8.17-r0 |
| Alpine:v3.12 | sudo | 1.7.2-r0, 1.7.1-r0, 1.9.0 |
Timeline
- Jan 12, 2021 CVE Published
- Jul 8, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2021-23239
vulnetix vdb fixes ALPINE-CVE-2021-23239
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2021-23239/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart