First published: Mon Feb 17 2025(Updated: )
When performing a symlink lookup from a reiserfs filesystem, grub's reiserfs 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 maliciouly 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 grub_reiserfs_read_symlink() will call grub_reiserfs_read_real() with a overflown length parameter leading to 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-2346119 is critical due to potential integer overflow vulnerabilities that may lead to security breaches.
To fix REDHAT-BUG-2346119, ensure that you update your GNU GRUB to the latest patched version provided by your distribution.
The potential impacts of REDHAT-BUG-2346119 include system crashes and arbitrary code execution due to improperly handled user-controlled parameters.
REDHAT-BUG-2346119 affects systems utilizing GNU GRUB, particularly those with reiserfs filesystems.
A temporary workaround for REDHAT-BUG-2346119 is to avoid using reiserfs filesystems until the vulnerability is patched.