Skip to content
7.6 High

CVE-2025-0624 Grub2: net: out-of-bounds write in grub_net_search_config_file()

Description

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 3.1 detail

Vector CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

Exploitable from the adjacent network, with an administrator account and without any user action; an attacker can seriously compromise confidentiality, integrity or availability.

Attack vector
Adjacent network
Attack complexity
High
Privileges required
High
Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Affected products and versions

Show the 15 other branches
Product Affected versions Fixed in
Red Hat Enterprise Linux 8.8 Extended Update Support Versions not published
Red Hat Enterprise Linux 9 Versions not published
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 9.2 Extended Update Support Versions not published
Red Hat Enterprise Linux 9.4 Extended Update Support Versions not published
Red Hat OpenShift Container Platform 4.12 412.86 earliest → < 412.86.202503310142-0 412.86.202503310142-0
Red Hat OpenShift Container Platform 4.13 413.92 earliest → < 413.92.202504070146-0 413.92.202504070146-0
Red Hat OpenShift Container Platform 4.14 414.92 earliest → < 414.92.202505141057-0 414.92.202505141057-0
Red Hat OpenShift Container Platform 4.15 415.92 earliest → < 415.92.202504282058-0 415.92.202504282058-0
Red Hat OpenShift Container Platform 4.16 416.94 earliest → < 416.94.202503252048-0 416.94.202503252048-0
Red Hat OpenShift Container Platform 4.17 417.94 earliest → < 417.94.202503241418-0 417.94.202503241418-0
Red Hat OpenShift Container Platform 4.18 418.94 earliest → < 418.94.202504021150-0 418.94.202504021150-0
Red Hat Enterprise Linux 10 Versions not published
Red Hat In-Vehicle Operating System 1 Versions not published
Red Hat OpenShift Container Platform 4 Versions not published

References

Timeline

  1. Published
  2. Last modified
The 373 CVEs of Red Hat Enterprise Linux 7 Extended Lifecycle Support →
Track this CVE