CVE-2024-45779: Grub2: fs/bfs: integer overflow leads to heap oob read in the bfs parser
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-45779 is a GRUB2 bootloader flaw triggered by a crafted or corrupted BFS filesystem. It can make GRUB2 read outside allocated heap memory, potentially leaking sensitive data or crashing during boot-related file handling. The sources rate it medium severity, with local high-privilege access required.
Executive priority
Treat this as a moderate boot-chain hardening issue, not an internet-facing emergency. Prioritize systems with weak physical controls, shared administrative access, removable boot media, or custom GRUB2 builds. Track vendor guidance and include it in routine platform patch cycles.
Technical view
The flaw is an integer overflow in GRUB2's BFS filesystem driver. When reading a file with an indirect extent map, GRUB2 does not validate the number of extent entries before reading them. This can cause a heap out-of-bounds read. CVSS 3.1 is 6.0: local attack vector, low complexity, high privileges, no user interaction.
Likely exposure
Exposure appears limited to systems using GRUB2 where an attacker with high local privileges can introduce or control a crafted BFS filesystem. The provided Red Hat affected-product entries show defaultStatus as unaffected, so Red Hat exposure is not established from this bundle.
Exploitation context
The bundle does not show active exploitation, and KEV is false. The described attack requires local high privileges and a crafted or corrupted BFS filesystem. Business risk is mainly boot disruption or possible data exposure in environments where boot media or filesystem images can be manipulated.
Researcher notes
The key condition is GRUB2 parsing a BFS indirect extent map without validating extent-entry counts, leading to integer overflow and heap out-of-bounds read. The provided bundle does not identify a fixed version, proof of exploitation, or affected non-Red Hat distributions.
Mitigation direction
Check vendor advisories for GRUB2 package status and fixed builds.
Apply vendor-provided GRUB2 updates when available for your platform.
Restrict administrative and physical access to boot media and filesystem images.
Avoid booting from or processing untrusted BFS filesystems.
Review secure boot and boot-chain controls for tamper resistance.
Validation and detection
Inventory systems using GRUB2 and record package source and version.
Confirm whether BFS filesystem support is present in deployed GRUB2 builds.
Check vendor CVE pages for affected status for each operating system.
Review controls over removable media, rescue images, and boot partitions.
Verify Red Hat systems against Red Hat's listed unaffected status.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-190: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-190 · source CWE mapping
Integer Overflow or Wraparound
Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.