CVE-2024-45778: Grub2: fs/bfs: integer overflow in the bfs parser.
A stack overflow flaw was found when reading a BFS file system. A crafted BFS filesystem may lead to an uncontrolled loop, causing grub2 to crash.
Other sources
Grub2: fs/bfs: integer overflow in the bfs parser.
— Microsoft
There's a stack overflow when reading a BFS file system. A crafted BFS filesystem may lead to a uncontrolled loop causing grub2 to crash.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.06-15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.06-25
Event History
Frequently Asked Questions
What is the severity of CVE-2024-45778?
CVE-2024-45778 has a high severity level due to the potential for a stack overflow and subsequent system crash.
How do I fix CVE-2024-45778?
To fix CVE-2024-45778, update to the latest version of GNU GRUB that addresses this vulnerability.
What systems are affected by CVE-2024-45778?
CVE-2024-45778 affects systems using GNU GRUB, particularly those utilizing the BFS file system.
What issues arise from CVE-2024-45778?
CVE-2024-45778 can cause an uncontrolled loop leading to a crash of grub2 when processing a crafted BFS filesystem.
Is there a workaround for CVE-2024-45778?
Currently, the best workaround for CVE-2024-45778 is to avoid using crafted BFS filesystems until an official patch is applied.