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

6.5MEDIUM

Key Information:

Vendor
Red Hat Bootloader Team
Status
Shim
Vendor
CVE Published:
20 July 2023

Summary

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.

Affected Version(s)

shim Linux 0 < 15.6

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Chris Coulson
.