A flaw was found in grub2. When reading a symbolic link's name from a UFS filesystem, grub2 fails to validate the string length taken as an input. The lack of validation may lead to a heap out-of-bounds write, causing data integrity issues and eventually allowing an attacker to circumvent secure boot protections.
Workaround:
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2025:6990 | vendor advisory |
https://access.redhat.com/security/cve/CVE-2024-45781 | vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=2345857 | issue tracking |