Heap-based buffer overflow in edk2 - CVE-2021-28211

 

Heap-based buffer overflow in edk2 - CVE-2021-28211

Published: June 30, 2021


Vulnerability identifier: #VU54481
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-28211
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: TianoCore
Affected software:
edk2

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 LzmaUefiDecompressGetInfo() function. A local user can run a specially crafted program to trigger a heap-based buffer overflow and execute arbitrary code with elevated privileges.


How to mitigate CVE-2021-28211

Install updates from vendor's website.

Sources