Out-of-bounds write in grub - CVE-2021-20233

 

Out-of-bounds write in grub - CVE-2021-20233

Published: March 3, 2021 / Updated: December 17, 2024


Vulnerability identifier: #VU51198
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2021-20233
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: GNU
Affected software:
grub

Detailed vulnerability description

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

The vulnerability exists due to a boundary error within the setparam_prefix() function in menu rendering code. A local privileged user can run a specially crafted program to trigger out-of-bounds write and escalate privileges on the system.


How to mitigate CVE-2021-20233

Install updates from vendor's website.

Sources