CVE-2025-0624
Grub2 Network Boot Configuration File Buffer Overflow
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.
INFO
Published Date :
Feb. 19, 2025, 7:15 p.m.
Last Modified :
March 31, 2025, 4:15 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
6.0
Exploitability Score :
1.0
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-0624
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-0624
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-0624
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Mar. 31, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:3396 -
CVE Modified by [email protected]
Mar. 27, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:3367 -
CVE Modified by [email protected]
Mar. 17, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:2869 -
CVE Modified by [email protected]
Mar. 17, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:2867 -
CVE Modified by [email protected]
Mar. 13, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:2799 -
CVE Modified by [email protected]
Mar. 13, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:2784 -
CVE Modified by [email protected]
Mar. 12, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:2675 -
CVE Modified by [email protected]
Mar. 11, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:2653 -
CVE Modified by [email protected]
Mar. 11, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:2655 -
CVE Modified by [email protected]
Mar. 10, 2025
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2025:2521 -
New CVE Received by [email protected]
Feb. 19, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:A/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-787 Added Reference https://access.redhat.com/security/cve/CVE-2025-0624 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2346112
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-0624
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-0624
weaknesses.