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:HExploitable 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
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | Versions not published | |
| Red Hat Enterprise Linux 8 | Versions not published | |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | Versions not published | |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | Versions not published | |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | Versions not published | |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | Versions not published | |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | Versions not published | |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | Versions not published | |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | Versions not published |
Show the 15 other branches Hide 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
- RHSA-2025:2521 access.redhat.com
- RHSA-2025:2653 access.redhat.com
- RHSA-2025:2655 access.redhat.com
- RHSA-2025:2675 access.redhat.com
- RHSA-2025:2784 access.redhat.com
- RHSA-2025:2799 access.redhat.com
- RHSA-2025:2867 access.redhat.com
- RHSA-2025:2869 access.redhat.com
- RHSA-2025:3297 access.redhat.com
- RHSA-2025:3301 access.redhat.com
- RHSA-2025:3367 access.redhat.com
- RHSA-2025:3396 access.redhat.com
- RHSA-2025:3573 access.redhat.com
- RHSA-2025:3577 access.redhat.com
- RHSA-2025:3780 access.redhat.com
- RHSA-2025:4422 access.redhat.com
- RHSA-2025:7702 access.redhat.com
- access.redhat.com access.redhat.com
- RHBZ#2346112 bugzilla.redhat.com
Timeline
- Published
- Last modified