Vulnerability record · OpenEuler 22.03-LTS-SP3
An update for grub2 is now available for openEuler-22.03-LTS-SP3
OpenEuler 22.03-LTS-SP3
What it fixes
Synopsis:
grub2 security updateSummary:
An update for grub2 is now available for openEuler-22.03-LTS-SP3Description:
GNU GRUB is a Multiboot boot loader. It was derived from GRUB, the GRand Unified Bootloader, which was originally designed and implemented by Erich Stefan Boleyn.
A flaw was found in grub2 where the grub_extcmd_dispatcher() function calls grub_arg_list_alloc() to allocate memory for the grub's argument list. However, it fails to check in case the memory allocation fails. Once the allocation fails, a NULL point will be processed by the parse_option() function, leading grub to crash or, in some rare scenarios, corrupt the IVT data.(CVE-2024-45775)
When reading the language .mo file in grub_mofile_open(), grub2 fails to verify an integer overflow when allocating its internal buffer. A crafted .mo file may lead the buffer size calculation to overflow, leading to out-of-bound reads and writes. This flaw allows an attacker to leak sensitive data or overwrite critical data, possibly circumventing secure boot protections.(CVE-2024-45776)
A flaw was found in grub2. The calculation of the translation buffer when reading a language .mo file in grub_gettext_getstr_from_position() may overflow, leading to a Out-of-bound write. This issue can be leveraged by an attacker to overwrite grub2's sensitive heap data, eventually leading to the circumvention of secure boot protections.(CVE-2024-45777)
An integer overflow flaw was found in the BFS file system driver in grub2. When reading a file with an indirect extent map, grub2 fails to validate the number of extent entries to be read. A crafted or corrupted BFS filesystem may cause an integer overflow during the file reading, leading to a heap of bounds read. As a consequence, sensitive data may be leaked, or grub2 will crash.(CVE-2024-45779)
A flaw was found in grub2. When reading tar files, grub2 allocates an internal buffer for the file name. However, it fails to properly verify the allocation against…
Manual fix · OpenEuler 22.03-LTS-SP3
sudo dnf upgrade grub2 grub2-common grub2-efi-aa64 grub2-efi-aa64-cdboot grub2-efi-aa64-modules grub2-efi-ia32 …rpm -q grub2 grub2-common grub2-efi-aa64 grub2-efi-aa64-cdboot grub2-efi-aa64-modules grub2-efi-ia32 …Sources