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

EcosystemPackageFixed inAdvisory
Alpine:v3.20sudo1.9.5-r0ALPINE-CVE-2021-23239
Alpine:v3.21sudo1.9.5-r0ALPINE-CVE-2021-23239
Alpine:v3.22sudo1.9.5-r0ALPINE-CVE-2021-23239
Alpine:v3.23sudo1.9.5-r0ALPINE-CVE-2021-23239
Alpine:v3.24sudo1.9.5-r0ALPINE-CVE-2021-23239
Debian:12sudo1.9.5-1DEBIAN-CVE-2021-23239
Debian:13sudo1.9.5-1DEBIAN-CVE-2021-23239
Debian:14sudo1.9.5-1DEBIAN-CVE-2021-23239
Rocky Linux:8sudo0:1.8.29-7.el8RLSA-2021:1723

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References