CVE-2021-3697

Name
CVE-2021-3697
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://bugzilla.redhat.com/show_bug.cgi?id=1991687

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:gnu:grub:*:*:*:*:*:*:*:* grub >= 2.0 < 2.12

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
grub 3.14-main 2.06-r0 Timo Teräs <timo.teras@iki.fi> possibly vulnerable
grub 3.13-main 2.04-r2 Timo Teräs <timo.teras@iki.fi> possibly vulnerable
grub 3.18-main 2.06-r12 Timo Teräs <timo.teras@iki.fi> fixed
grub 3.17-main 2.06-r8 Timo Teräs <timo.teras@iki.fi> fixed
grub 3.16-main 2.06-r3 Timo Teräs <timo.teras@iki.fi> fixed
grub 3.15-main 2.06-r3 Timo Teräs <timo.teras@iki.fi> fixed
grub 3.19-main 2.06-r17 Timo Teräs <timo.teras@iki.fi> fixed