CVE-2021-23240

HIGH
7.8
CVSS Score
Published: January 12, 2021 at 08:17 AM UTC
Updated: June 17, 2026 at 03:38 AM UTC
4 products affected across 3 vendorsFedoraSolidfireHci Management Node

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versions
v < 1.8.321.9.0 ≤ v < 1.9.5
Affected range stops below 1.8.32, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.9.5, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-59

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card