There's a possible overflow in handle_image() when shim...
High severity
Unreviewed
Published
Jul 20, 2023
to the GitHub Advisory Database
•
Updated Apr 4, 2024
Description
Published by the National Vulnerability Database
Jul 20, 2023
Published to the GitHub Advisory Database
Jul 20, 2023
Last updated
Apr 4, 2024
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.
References