CVE-2021-3695

Medium

Description

A 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.

SeverityMedium
CVSS4.5
Exploit probability—
ProductGnu Grub2
PublishedJul 6, 2022
First seenJul 6, 2022

How to fix

Update
  • gnu grub22.12 or later

Affected products

ProductAffected versionsFixed in
gnu grub22.00 ≤ v < 2.122.12
fedoraproject fedora36—
redhat developer_tools1.0—
redhat openshift3.0—
redhat enterprise_linux8.0, 8.1, 8.4, 9.0—
redhat enterprise_linux_eus8.2, 8.4, 8.6, 9.0—
redhat enterprise_linux_for_power_little_endian8.0, 9.0—
redhat enterprise_linux_for_power_little_endian_eus8.2, 8.4, 8.6, 9.0—
redhat enterprise_linux_server_aus8.2, 8.4, 8.6—
redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.1, 8.2, 8.4, 8.6, 9.0—
redhat enterprise_linux_server_tus8.2, 8.4, 8.6—
redhat openshift_container_platform4.6, 4.9, 4.10—
redhat codeready_linux_builderNo range specified—
netapp ontap_select_deploy_administration_utilityNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.