CVE-2024-45776

Summary

When reading the language .mo file in grub_mofile_open(), grub2 fails to verify an integer overflow when allocating its internal buffer. A crafted .mo file may lead the buffer size calculation to overflow, leading to out-of-bound reads and writes. This flaw allows an attacker to leak sensitive data or overwrite critical data, possibly circumventing secure boot protections.

Affected Software

VendorProductVersion RangeStatus
0 <= 2.12affected
Red HatRed Hat Enterprise Linux 101:2.12-15.el10_0 < *unaffected
Red HatRed Hat Enterprise Linux 91:2.06-104.el9_6 < *unaffected

Weaknesses

  • CWE-787: Out-of-bounds Write

Workarounds

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References