First published: Mon Feb 17 2025(Updated: )
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 grub_strcpy() function. During this step it fails to consider the environment variable length when allocating the internal buffer, resulting in a out-of-bounds write. If correctly exploited this issue may result in remote code execution through the same network segment the grub is searching for the boot information, which can be used to by-pass secure boot protections.
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.
The severity of REDHAT-BUG-2346112 is classified as high due to the potential for buffer overflow in the GRUB bootloader.
To fix REDHAT-BUG-2346112, update to the latest version of GNU GRUB that contains the patch for this vulnerability.
Systems using GNU GRUB as their bootloader and relying on user-controlled environment variables are affected by REDHAT-BUG-2346112.
The risks associated with REDHAT-BUG-2346112 include potential remote code execution or system compromise during the boot process.
As a temporary workaround for REDHAT-BUG-2346112, limit the use of user-controlled environment variables in the GRUB configuration.