CVE-2024-45780 Details
Description
A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against possible integer overflows. It's possible to cause the allocation length to overflow with a crafted tar file, leading to a heap out-of-bounds write. This flaw eventually allows an attacker to circumvent secure boot protections.
A vulnerability exists in GNU GRUB2 related to how it processes TAR files. GRUB2 allocates a buffer for file names but does not adequately check the allocation size, leaving it vulnerable to integer overflow. This oversight can be exploited with a specially crafted TAR file, causing a heap-based out-of-bounds write. As a result, an attacker could potentially bypass Secure Boot protections. This vulnerability affects GRUB2 versions prior to the patched release in February 2025.
Users should update to the latest version of GRUB2, which includes the necessary patches. After updating, ensure that the SHIM bootloader is also updated to the latest version, as this vulnerability can be exploited to bypass Secure Boot protections.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 3, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2024-45780 | [email protected] | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2345856 | [email protected] | Issue Tracking |
| https://lists.gnu.org/archive/html/grub-devel/2025-02/msg00024.html | [email protected] | Mailing List |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnu grub2 | <= 2.12 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | [email protected] |
| Oct 21, 2026 | CVE Modified | [email protected] |
| Jun 29, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 7, 2025 | Initial Analysis | [email protected] |
| Mar 5, 2025 | CVE Modified | [email protected] |
| Mar 3, 2025 | New CVE Received | [email protected] |