CVE-2022-28737Out-of-bounds Write in HAT Bootloader Team Shim

Severity
7.8HIGHNVD
CNA6.5
EPSS
0.0%
top 93.90%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJul 20
Latest updateSep 8

Description

There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables; The handle_image() function takes into account the SizeOfRawData field from each section to be loaded. An attacker can leverage this to perform out-of-bound writes into memory. Arbitrary code execution is not discarded in such scenario.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages3 packages

NVDredhat/shim< 15.6
Debianredhat/shim< 15.6-1~deb11u1+3

🔴Vulnerability Details

3
GHSA
GHSA-hmxr-46w2-jjwh: There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables; The handle_image() function takes into acco2023-07-20
CVEList
There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables2023-07-20
OSV
CVE-2022-28737: There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables; The handle_image() function takes into acco2023-07-20

📋Vendor Advisories

4
Ubuntu
GRUB2 vulnerabilities2023-09-08
Microsoft
There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables2023-07-11
Red Hat
shim: Buffer overflow when loading crafted EFI images2022-06-07
Debian
CVE-2022-28737: shim - There's a possible overflow in handle_image() when shim tries to load and execut...2022