Vulnerability record · OpenEuler 22.03-LTS-SP4
An update for grub2 is now available for openEuler-22.03-LTS-SP4
OpenEuler 22.03-LTS-SP4
What it fixes
Synopsis:
grub2 security updateSummary:
An update for grub2 is now available for openEuler-22.03-LTS-SP4Description:
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)
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.(CVE-2024-45781)
A flaw was found in the HFS filesystem. When reading an HFS volume's name at grub_fs_mount(), the HFS filesystem driver performs a strcpy() using the user-provided volume name as input without properly validating the volume name's length.…
Manual fix · OpenEuler 22.03-LTS-SP4
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