CVE-2021-23240Sudo Project Sudo
High 7.8
Follow: this CVE · Sudo Project · Sudo Project Sudo We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Sudo.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sudo_project | sudo | < 1.8.32 |
| sudo_project | sudo | ≥ 1.9.0 < 1.9.5 |
| netapp | hci_management_node | all |
| netapp | solidfire | all |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.suse.com Exploit Issue Tracking Patch
- lists.apache.org
- lists.apache.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- www.sudo.ws Release Notes Vendor Advisory