CVE-2021-23239 Race condition in n/a

Low 2.5 Published Updated

A local unprivileged user can exploit a race condition in sudoedit to perform arbitrary directory-existence tests, potentially leaking filesystem information.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-23239?

CVE-2021-23239 is a low-severity vulnerability in Debian Debian Linux, published on 12 Jan 2021. It can only be exploited from the same machine or local network, with no action from the victim.

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.

Weakness: CWE-59

Which versions are affected by CVE-2021-23239?

It affects 6 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Netapp Cloud Backup, Netapp Hci Management Node, Netapp Solidfire, Sudo Project Sudo.

How do I fix CVE-2021-23239?

Upgrade to a fixed version.

Is CVE-2021-23239 being exploited?

There is no known exploitation of CVE-2021-23239 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-23239, DEBIAN-CVE-2021-23239, DLA-3181-1, GHSA-wfrc-r682-56qv, UBUNTU-CVE-2021-23239.

Is CVE-2021-23239 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free