vulnerability
Red Hat: CVE-2021-23240: CVE-2021-23240 sudo: symbolic link attack in SELinux-enabled sudoedit (Multiple Advisories)
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 4 | (AV:L/AC:M/Au:N/C:P/I:P/A:P) | Jan 12, 2021 | May 21, 2021 | Aug 11, 2025 |
Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
Jan 12, 2021
Added
May 21, 2021
Modified
Aug 11, 2025
Description
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.
Solutions
no-fix-redhat-rpm-packageredhat-upgrade-sudoredhat-upgrade-sudo-debuginforedhat-upgrade-sudo-debugsource
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.