CVE-2022-28737

There's a possible overflow in handle_image() when shim tries to load and execute crafted EFI executables

State
Published
Severity
6.5 Medium
Published
Jul 20, 2023
Updated
Oct 22, 2024
Reserved
Apr 5, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:Hcanonical

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
shimRed Hat Bootloader Team
  • before 15.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.