A flaw was found in grub2. During the network boot...
High severity
Unreviewed
Published
Feb 19, 2025
to the GitHub Advisory Database
•
Updated Feb 19, 2025
Description
Published by the National Vulnerability Database
Feb 19, 2025
Published to the GitHub Advisory Database
Feb 19, 2025
Last updated
Feb 19, 2025
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.
References