First published: Mon Feb 17 2025(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
GRUB |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-0624 has been classified as a high severity vulnerability due to the potential for exploitation during the network boot process.
To fix CVE-2025-0624, update your GNU GRUB 2 to the latest version that addresses this vulnerability.
CVE-2025-0624 is a buffer overflow vulnerability caused by inadequate length checking on environment variables during the network boot process.
CVE-2025-0624 affects all versions of GNU GRUB 2 that utilize the grub_strcpy() function during the boot configuration process.
The potential impacts of CVE-2025-0624 include arbitrary code execution, system compromise, or denial of service during network boot operations.