Buffer overflow in Red Hat Bootloader Team Shim
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 26.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Red Hat Bootloader Team Shim — versions 0
- Red Hat Shim
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 18 other repositories (ARPSyndicate/cvemon, baramundisoftware/ShimReview_2024, coreyvelan/shim-review, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2022/06/07/5 (mailing-list, Mailing List, Third Party Advisory)
- cve.mitre.org/cgi-bin/cvename.cgi (issue-tracking, Third Party Advisory)