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

 

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

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


Vulnerability identifier: #VU51197
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:U/U:Clear
CVE-ID: CVE-2021-20225
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: No public exploit 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 option parser. A local privileged user can write past the end of a heap-allocated buffer by calling certain commands with a large number of specific short forms of options and execute arbitrary code with elevated privileges.


How to mitigate CVE-2021-20225

Install updates from vendor's website.

Sources