
Cloud Vulnerability DB
A community-led vulnerabilities database
GNU GRUB (also known as GRUB2) through version 2.12 contains a heap-based buffer overflow vulnerability in its fs/hfs.c file. The vulnerability was discovered on December 26, 2024, and can be exploited via crafted sblock data in an HFS filesystem (NVD, GNU Bug).
The vulnerability exists in the HFS filesystem parsing functionality within grub-core/fs/hfs.c. The issue stems from an incorrect assumption about volume name validation in Pascal strings, leading to a heap-based buffer overflow. The vulnerability occurs when copying data from sblock.volname to a fixed-size buffer of 31 bytes without proper bounds checking. The attacker can control the sblock member data, potentially avoiding NULL terminators and causing buffer overflow (GNU Bug). The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).
Successful exploitation of this vulnerability could lead to heap-based buffer overflow, potentially allowing attackers to execute arbitrary code or cause denial of service conditions. The high CVSS score indicates that the vulnerability could result in a complete compromise of system confidentiality, integrity, and availability (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."