#VU49884 Link following in Sudo - CVE-2021-23240

 

#VU49884 Link following in Sudo - CVE-2021-23240

Published: January 12, 2021 / Updated: January 20, 2021


Vulnerability identifier: #VU49884
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-23240
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
Sudo
Software vendor:
Sudo

Description

The vulnerability allows a local authenticated user to execute arbitrary code.

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.


Remediation

Install update from vendor's website.

External links