CVE-2022-28737
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by canonical
Exploit likelihood
0.40% (higher than 26% of CVEs)
Published
Last changed
Assigned by
canonical

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.

Affected

Product or packageVersionsReported by
shimbefore 15.6CVE List
redhat shimbefore 15.6CVE List, NVD

All scores

canonical6.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Hay un posible desbordamiento en handle_image() cuando shim intenta cargar y ejecutar ejecutables EFI manipulados; La función handle_image() tiene en cuenta el campo SizeOfRawData de cada sección a cargar. Un atacante puede aprovechar esto para realizar escrituras fuera de límites en la memoria. La ejecución de código arbitrario no se descarta en dicho escenario.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-28737 changed 2024-10-22CVE Terms of Use
NVDCVE-2022-28737 changed 2026-11-10Public domain