PT-2022-6168 · Grub2+10 · Grub2+10
Marco Benatto
·
Published
2022-06-07
·
Updated
2026-03-26
·
CVE-2021-3695
CVSS v3.1
4.5
Medium
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
grub2 versions prior to 2.12
Description
A crafted 16-bit grayscale PNG image may lead to an out-of-bounds write in the heap area, potentially causing heap data corruption or arbitrary code execution, and circumventing secure boot protections. The issue has a high complexity to be exploited as an attacker needs to perform some triage over the heap layout to achieve significant results. The values written into the memory are repeated three times in a row, making it difficult to produce valid payloads.
Recommendations
For grub2 versions prior to 2.12, update to version 2.12 or later to resolve the issue. As a temporary workaround, consider restricting the use of crafted 16-bit grayscale PNG images to minimize the risk of exploitation.
Fix
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Grub2