CVE-2021-3697

HIGH

GRUB2 2.00-2.11 - Out-of-bounds Write via Crafted JPEG Image

Title source: llm
STIX 2.1

Description

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

References (3)

Core 3
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=1991687
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202209-12
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20220930-0001/

Scores

CVSS v3 7.0
EPSS 0.0007
EPSS Percentile 20.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (32)
gnu/grub2 2.00 - 2.12
redhat/codeready_linux_builder
redhat/developer_tools 1.0
redhat/enterprise_linux 8.0
redhat/enterprise_linux 8.1
redhat/enterprise_linux 8.4
redhat/enterprise_linux 9.0
redhat/enterprise_linux_eus 8.2
redhat/enterprise_linux_eus 8.4
redhat/enterprise_linux_eus 8.6
... and 22 more
Published Jul 06, 2022
Tracked Since Feb 18, 2026