Double Free in Sudo - CVE-2023-27320

 

Double Free in Sudo - CVE-2023-27320

Published: March 2, 2023


Vulnerability identifier: #VU72719
CSH Severity: Low
CVSS v4.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-2023-27320
CWE-ID: CWE-415
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Sudo
Affected software:
Sudo

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error when matching a sudoers rule that contains a per-command chroot directive (CHROOT=dir). A local user can trigger a double free error and execute arbitrary code with elevated privileges.



How to mitigate CVE-2023-27320

Install updates from vendor's website.

Sources