Heap-based Buffer Overflow Affecting grub2 package, versions <1:2.06-14.amzn2.0.5


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-GRUB2-8747542
  • published26 Feb 2025
  • disclosed29 Dec 2024

Introduced: 29 Dec 2024

CVE-2024-56737  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 grub2 to version 1:2.06-14.amzn2.0.5 or higher.
This issue was patched in ALAS2-2025-2756.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2 package and not the grub2 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

GNU GRUB (aka GRUB2) through 2.12 has a heap-based buffer overflow in fs/hfs.c via crafted sblock data in an HFS filesystem.

CVSS Scores

version 3.1