High severity · published Jul 6, 2022
CVE-2021-3697
A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap
7.0
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CL
Codeready Linux Builder · Redhat
All versions, or not specified · source: NVD
DT
Developer Tools · Redhat
1.0 · source: NVD
EL
Enterprise Linux · Redhat
8.0; 8.1; 8.4; 9.0 · source: NVD
EL
Enterprise Linux Eus · Redhat
8.2; 8.4; 8.6; 9.0 · source: NVD
EL
Enterprise Linux For Power Little Endian · Redhat
8.0; 9.0 · source: NVD
EL
Enterprise Linux For Power Little Endian Eus · Redhat
8.2; 8.4; 8.6; 9.0 · source: NVD
EL
Enterprise Linux Server Aus · Redhat
8.2; 8.4; 8.6 · source: NVD
EL
Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions · Redhat
8.1; 8.2; 8.4; 8.6; 9.0 · source: NVD
EL
Enterprise Linux Server Tus · Redhat
8.2; 8.4; 8.6 · source: NVD
GR
Grub2 · Gnu
2.00 before 2.12 · source: NVD
OP
Openshift · Redhat
3.0 · source: NVD
OC
Openshift Container Platform · Redhat
4.6; 4.9; 4.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-3697
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-3697
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1991687
Third Party Advisory
https://security.gentoo.org/glsa/202209-12
Third Party Advisory
https://security.netapp.com/advisory/ntap-20220930-0001/
More from Grub2
8.8
CVE-2024-56737
GNU GRUB (aka GRUB2) through 2.12 has a heap-based buffer overflow in fs/hfs.c via crafted sblock data in an HFS filesystem
8.6
CVE-2022-2601
A buffer overflow was found in grub_font_construct_glyph()
8.2
CVE-2021-20233
A flaw was found in grub2 in versions prior to 2.06
8.2
CVE-2020-25632
A flaw was found in grub2 in versions prior to 2.06
8.2
CVE-2020-10713
A flaw was found in grub2, prior to version 2.06
