Out-of-bounds Write Affecting grub2-common package, versions <1:2.06-94.0.1.el9_5


Severity

Recommended
0.0
high
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.04% (16th 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-ORACLE9-GRUB2COMMON-9464115
  • published18 Mar 2025
  • disclosed19 Feb 2025

Introduced: 19 Feb 2025

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

How to fix?

Upgrade Oracle:9 grub2-common to version 1:2.06-94.0.1.el9_5 or higher.
This issue was patched in ELSA-2025-2867.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-common package and not the grub2-common package as distributed by Oracle. See How to fix? for Oracle:9 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 Base Scores

version 3.1