CVEvulnerability

CVE-2024-45780

6.7 MEDIUM Published 2025-03-03 Modified 2026-10-21 Official page ↗
Status
Analyzed
Published
2025-03-03
Last modified
2026-10-21
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.7 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
6.7 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787

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.

Affected configurations

• gnu grub2 (<= 2.12)

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References