Maple Labs

CVE search · CVE-2021-23240

CVE-2021-23240

high 7.8

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.

Details

Status
Modified
Published
Last changed
Source
cve@mitre.org
Weakness
CWE-59

Severity

VersionScoreVectorSource
CVSS 3.1 high 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H nvd@nist.govPrimary
CVSS 2.0 medium 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P nvd@nist.govPrimary

Affected products

Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.

References