CVE-2024-45779

Summary

An integer overflow flaw was found in the BFS file system driver in grub2. When reading a file with an indirect extent map, grub2 fails to validate the number of extent entries to be read. A crafted or corrupted BFS filesystem may cause an integer overflow during the file reading, leading to a heap of bounds read. As a consequence, sensitive data may be leaked, or grub2 will crash.

Affected Software

VendorProductVersion RangeStatus
0 <= 2.12affected

Weaknesses

  • CWE-190: Integer Overflow or Wraparound

Workarounds

Do not run grub2 in an untrusted environment, specifically with a BFS file system image.

ADP Enrichment

CISA ADP Vulnrichment

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

References