Out-of-bounds Write Affecting grub2-efi-x64-modules package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined

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-RHEL8-GRUB2EFIX64MODULES-8737448
  • published19 Feb 2025
  • disclosed18 Feb 2025

Introduced: 18 Feb 2025

NewCVE-2025-0624  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 grub2-efi-x64-modules.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-efi-x64-modules package and not the grub2-efi-x64-modules package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A flaw was found in grub2. During the network boot process, when trying to search for the configuration file, grub copies data from a user controlled environment variable into an internal buffer using the grub_strcpy() function. During this step, it fails to consider the environment variable length when allocating the internal buffer, resulting in an out-of-bounds write. If correctly exploited, this issue may result in remote code execution through the same network segment grub is searching for the boot information, which can be used to by-pass secure boot protections.

CVSS Scores

version 3.1