vulnerability
Red Hat: CVE-2021-23240: CVE-2021-23240 sudo: symbolic link attack in SELinux-enabled sudoedit (Multiple Advisories)
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
7 | (AV:L/AC:L/Au:S/C:C/I:C/A:C) | Jan 12, 2021 | May 21, 2021 | Jul 9, 2025 |
Severity
7
CVSS
(AV:L/AC:L/Au:S/C:C/I:C/A:C)
Published
Jan 12, 2021
Added
May 21, 2021
Modified
Jul 9, 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.
Solution(s)
no-fix-redhat-rpm-packageredhat-upgrade-sudoredhat-upgrade-sudo-debuginforedhat-upgrade-sudo-debugsource
References

NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.