First published: Mon Feb 17 2025(Updated: )
When reading data from a squash4 filesystem, grub's squash4 fs module uses user-controlled parameters from the filesystem geometry to determine the internal buffers size, however it misses to properly check for integer overflows. A maliciously crafted filesystem may lead some of those buffer size calculation to overflow, causing it to perform a grub_malloc() operation with a smaller size than expected. As a result the direct_read() will perform a heap based out-of-bounds write during data reading. This flaw may be leveraged to corrupt grub's internal critical data and may result in arbitrary code execution by-passing secure boot protections.
Affected Software | Affected Version | How to fix |
---|---|---|
Ubuntu GRUB (GNU GRand Unified Bootloader) |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2346118 is considered high due to potential exploitation through crafted filesystem parameters.
To fix REDHAT-BUG-2346118, update GNU GRUB to the latest patched version that addresses this vulnerability.
Systems running GNU GRUB, particularly those using squash4 filesystems, are affected by REDHAT-BUG-2346118.
Exploitation of REDHAT-BUG-2346118 may lead to buffer overflows, resulting in denial of service or arbitrary code execution.
You should be concerned about REDHAT-BUG-2346118 as it presents a significant security risk that can compromise system integrity and safety.