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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
grub2 (PTS) | jessie, jessie (lts) | 2.02~beta2-22+deb8u2 | vulnerable |
| stretch (lts), stretch | 2.02~beta3-5+deb9u3 | vulnerable |
| buster (security), buster, buster (lts) | 2.06-3~deb10u4 | fixed |
| bullseye (security), bullseye | 2.06-3~deb11u6 | fixed |
| bookworm (security), bookworm | 2.06-13+deb12u1 | fixed |
| sid, trixie | 2.12-5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
grub2 | source | buster | 2.06-3~deb10u1 | | | |
grub2 | source | bullseye | 2.06-3~deb11u1 | | | |
grub2 | source | (unstable) | 2.06-3 | | | |
Notes
[stretch] - grub2 <ignored> (No SecureBoot support in stretch)
[jessie] - grub2 <ignored> (No SecureBoot support in jessie)
https://www.openwall.com/lists/oss-security/2022/06/07/5