Live threats

All CVEs / Sudo Project

CVE-2021-23240Sudo Project Sudo

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
Yes
Published
Jan 12, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not vulnerable.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sudo.

Affected products (CPE)

VendorProductVersions
sudo_projectsudo< 1.8.32
sudo_projectsudo≥ 1.9.0 < 1.9.5
netapphci_management_nodeall
netappsolidfireall
fedoraprojectfedora32
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.