CVE-2022-28737

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

Published Jul 20, 2023 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-33176 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.
Ubuntu USN Ubuntu USN USN-6355-1 GRUB2 vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Oct 22, 2024, 1:17 PM
Reserved
Apr 5, 2022, 9:59 PM
Status
Modified
Published
Jul 20, 2023, 1:15 AM
Modified
Nov 10, 2026, 12:10 PM
Severity
Moderate
Public date
Jun 7, 2022, 5:00 PM