Gnu Grub2 vulnerabilities, page 2

54 vulnerabilities

Known vulnerabilities in Gnu Grub2, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2024-2312debian · debian based gnu grub +28 moredebian debian based gnu grubGRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module leaving UEFI system table hooks after exit. This lead to a use-after-free condition, and could possibly lead to secure boot bypass.CVSS6.7MediumEPSS0.38%RoutineCVE-2024-1048redhat · enterprise_linux +2 moreGrub2: grub2-set-bootflag can be abused by local (pseudo-)usersA flaw was found in the grub2-set-bootflag utility of grub2. After the fix of CVE-2019-14865, grub2-set-bootflag will create a temporary file with the new grubenv content and rename it to the original grubenv file. If the program is killed before the rename operation, the temporary file will not be removed and may fill the filesystem when invoked multiple times, resulting in a filesystem out of free inodes or blocks.CVSS3.3LowEPSS0.31%RoutineCVE-2023-4001redhat · enterprise_linux +26 moreGrub2: bypass the grub password protection featureAn authentication bypass flaw was found in GRUB due to the way that GRUB uses the UUID of a device to search for the configuration file that contains the password hash for the GRUB password protection feature. An attacker capable of attaching an external drive such as a USB stick containing a file system with a duplicate UUID (the same as in the "/boot/" file system) can bypass the GRUB password protection feature on UEFI systems, which enumerate removable drives before non-removable ones. This issue was introduced in a downstream patch in Red Hat's version of grub2 and does not affect the upstream package.CVSS6.8MediumEPSS0.59%PrioritiseCVE-2023-4692redhat · enterprise_linux +4 moreGrub2: out-of-bounds write at fs/ntfs.c may lead to unsigned code executionAn out-of-bounds write flaw was found in grub2's NTFS filesystem driver. This issue may allow an attacker to present a specially crafted NTFS filesystem image, leading to grub's heap metadata corruption. In some circumstances, the attack may also corrupt the UEFI firmware heap metadata. As a result, arbitrary code execution and secure boot protection bypass may be achieved.CVSS7.8HighEPSS0.56%RoutineCVE-2023-4693redhat · enterprise_linux +4 moreGrub2: out-of-bounds read at fs/ntfs.cAn out-of-bounds read flaw was found on grub2's NTFS filesystem driver. This issue may allow a physically present attacker to present a specially crafted NTFS file system image to read arbitrary memory locations. A successful attack allows sensitive data cached in memory or EFI variable values to be leaked, presenting a high Confidentiality risk.CVSS5.3MediumEPSS0.53%RoutineCVE-2022-28736gnu project · gnu grub +4 moreThere's a use-after-free vulnerability in grub_cmd_chainloader() functionWhen executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2's memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved.CVSS7.8HighEPSS0.29%RoutineCVE-2022-28735gnu project · gnu grub +4 moregnu project gnu grubThe GRUB2's shim_lock verifier allows non-kernel files to be loaded on shim-powered secure boot systems. Allowing such files to be loaded may lead to unverified code and modules to be loaded in GRUB2 breaking the secure boot trust-chain.CVSS7.8HighEPSS0.32%PrioritiseCVE-2022-28734gnu project · gnu grub +5 moreOut-of-bounds write when handling split HTTP headersThis can lead to a out-of-bound write further when parsing the HTTP request, writing a NULL byte past the buffer. It's conceivable that an attacker controlled set of packets can lead to corruption of the GRUB2's internal memory metadata.CVSS8.1HighEPSS1.12%PrioritiseCVE-2022-28733gnu project · gnu grub +24 moreInteger underflow in grub_net_recv_ip4_packetsUnder certain circumstances the total_len value may end up wrapping around to a small integer number which will be used in memory allocation. If the attack succeeds in such way, subsequent operations can write past the end of the buffer.CVSS8.1HighEPSS1.27%RoutineCVE-2022-3775gnu · grub2 +4 moregnu grub2When rendering certain unicode sequences, grub2's font code doesn't proper validate if the informed glyph's width and height is constrained within bitmap size. As consequence an attacker can craft an input which will lead to a out-of-bounds write into grub2's heap, leading to memory corruption and availability issues. Although complex, arbitrary code execution could not be discarded.CVSS7.1HighEPSS1.07%RoutineCVE-2022-2601fedoraproject · fedora +30 morefedoraproject fedoraA buffer overflow was found in grub_font_construct_glyph(). A malicious crafted pf2 font can lead to an overflow when calculating the max_glyph_size value, allocating a smaller than needed buffer for the glyph, this further leads to a buffer overflow and a heap based out-of-bounds write. An attacker may use this vulnerability to circumvent the secure boot mechanism.CVSS8.6HighEPSS0.53%RoutineCVE-2021-3697gnu · grub2 +15 moregnu grub2A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.CVSS7.0HighEPSS0.47%RoutineCVE-2021-3696gnu · grub2 +15 moregnu grub2A heap out-of-bounds write may heppen during the handling of Huffman tables in the PNG reader. This may lead to data corruption in the heap space. Confidentiality, Integrity and Availablity impact may be considered Low as it's very complex to an attacker control the encoding and positioning of corrupted Huffman entries to achieve results such as arbitrary code execution and/or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12.CVSS6.9MediumEPSS0.48%RoutineCVE-2021-3695fedoraproject · fedora +16 morefedoraproject fedoraA crafted 16-bit grayscale PNG image may lead to a out-of-bounds write in the heap area. An attacker may take advantage of that to cause heap data corruption or eventually arbitrary code execution and circumvent secure boot protections. This issue has a high complexity to be exploited as an attacker needs to perform some triage over the heap layout to achieve signifcant results, also the values written into the memory are repeated three times in a row making difficult to produce valid payloads. This flaw affects grub2 versions prior grub-2.12.CVSS4.5MediumEPSS0.47%RoutineCVE-2021-46705suse · opensuse_factory +3 moregrub2-once uses fixed file name in /var/tmpA Insecure Temporary File vulnerability in grub-once of grub2 in SUSE Linux Enterprise Server 15 SP4, openSUSE Factory allows local attackers to truncate arbitrary files. This issue affects: SUSE Linux Enterprise Server 15 SP4 grub2 versions prior to 2.06-150400.7.1. SUSE openSUSE Factory grub2 versions prior to 2.06-18.1.CVSS5.1MediumEPSS0.24%RoutineCVE-2021-3981fedoraproject · fedora +30 morefedoraproject fedoraA flaw in grub2 was found where its configuration file, known as grub.cfg, is being created with the wrong permission set allowing non privileged users to read its content. This represents a low severity confidentiality issue, as those users can eventually read any encrypted passwords present in grub.cfg. This flaw affects grub2 2.06 and previous versions. This issue has been fixed in grub upstream but no version with the fix is currently released.CVSS3.3LowEPSS0.32%RoutineCVE-2021-3418gnu · grub2 +1 moregnu grub2If certificates that signed grub are installed into db, grub can be booted directly. It will then boot any kernel without signature validation. The booted kernel will think it was booted in secureboot mode and will implement lockdown, yet it could have been tampered. This flaw is a reintroduction of CVE-2020-15705 and only affects grub2 versions prior to 2.06 and upstream and distributions using the shim_lock mechanism.CVSS6.4MediumEPSS0.47%RoutineCVE-2021-20233fedoraproject · fedora +11 morefedoraproject fedoraA flaw was found in grub2 in versions prior to 2.06. Setparam_prefix() in the menu rendering code performs a length calculation on the assumption that expressing a quoted single quote will require 3 characters, while it actually requires 4 characters which allows an attacker to corrupt memory by one byte for each quote in the input. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.CVSS8.2HighEPSS0.61%RoutineCVE-2021-20225fedoraproject · fedora +11 morefedoraproject fedoraA flaw was found in grub2 in versions prior to 2.06. The option parser allows an attacker to write past the end of a heap-allocated buffer by calling certain commands with a large number of specific short forms of options. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.CVSS7.2HighEPSS1.02%RoutineCVE-2020-25632fedoraproject · fedora +11 morefedoraproject fedoraA flaw was found in grub2 in versions prior to 2.06. The rmmod implementation allows the unloading of a module used as a dependency without checking if any other dependent module is still loaded leading to a use-after-free scenario. This could allow arbitrary code to be executed or a bypass of Secure Boot protections. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.CVSS8.2HighEPSS1.17%