CVE-2021-23240
Last modified
CVE-2021-23240 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 1.07% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sudo Project | Sudo | < 1.8.32 |
| Sudo Project | Sudo | >= 1.9.0, < 1.9.5 |
| Netapp | Hci Management Node | All versions |
| Netapp | Solidfire | All versions |
| Fedoraproject | Fedora | 32 |
| Fedoraproject | Fedora | 33 |
References
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23240Exploit, Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202101-33Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210129-0010/Third Party Advisory
- https://www.sudo.ws/stable.html#1.9.5Release Notes, Vendor Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2021-23240Exploit, Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202101-33Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210129-0010/Third Party Advisory
- https://www.sudo.ws/stable.html#1.9.5Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-23240?
How severe is CVE-2021-23240?
How do I fix CVE-2021-23240?
Are you affected by CVE-2021-23240?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
