CVE-2021-23240
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.
- CVSS Version 3.1
- CVSS Version 2.0
nvd
CVE ID: CVE-2021-23240
Base Score: 7.8
Base Severity: HIGH
Vector String:CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Impact Score: 5.9
Exploitability Score: 1.8
nvd
CVE ID: CVE-2021-23240
Base Score: 4.4
Base Severity: MEDIUM
Vector String:AV:L/AC:M/Au:N/C:P/I:P/A:P
Refrence: NVD