Skip to content
OpenAdvisories
Unscored CVE-2021-3697 EUVD-2021-26982GHSA-pr45-j47f-755r

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 succ…

Published Jul 6, 2022 · Updated Aug 3, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— grub2 grub-2.06 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 grub2 2.06-3 —
Debian 13 grub2 2.06-3 —
Debian 12 grub2 2.06-3 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS grub2-signed 1.187.3~22.04.1 USN-6355-1
Ubuntu 22.04 LTS grub2-unsigned 2.06-2ubuntu14.1 USN-6355-1
Ubuntu 22.04 LTS shim 15.7-0ubuntu1 USN-6355-1
Ubuntu 22.04 LTS shim-signed 1.51.3 USN-6355-1
Ubuntu 20.04 LTS grub2-signed 1.187.3~20.04.1 USN-6355-1
Ubuntu 20.04 LTS grub2-unsigned 2.06-2ubuntu14.1 USN-6355-1
Ubuntu 20.04 LTS shim 15.7-0ubuntu1 USN-6355-1
Ubuntu 20.04 LTS shim-signed 1.40.9 USN-6355-1
Ubuntu 18.04 LTS grub2-signed 1.187.3~18.04.1 —
Ubuntu 18.04 LTS grub2-unsigned 2.06-2ubuntu14.1 —
Ubuntu 16.04 LTS grub2-signed +1 No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS grub2-signed No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 grub2 +15 1:2.06-27.el9_0.7 RHSA-2022:5099
RHEL 9 shim +3 15.6-1.el9 RHSA-2022:5099
RHEL 8 grub2 +18 1:2.02-123.el8_6.8 RHSA-2022:5095
RHEL 8 shim +4 15.6-1.el8 RHSA-2022:5095
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.4 EUS grub2 +18 1:2.02-99.el8_4.9 RHSA-2022:5096
RHEL 8.4 EUS shim +4 15.6-1.el8 RHSA-2022:5096
RHEL 8.2 EUS grub2 +18 1:2.02-87.el8_2.10 RHSA-2022:5100
RHEL 8.2 EUS shim +4 15.6-1.el8 RHSA-2022:5100
RHEL 8.1 E4S grub2 +16 1:2.02-87.el8_1.10 RHSA-2022:5098
RHEL 8.1 E4S shim +2 15.6-1.el8 RHSA-2022:5098

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 grub2-pc +14 1:2.06-27.el9_0.7.alma ALSA-2022:5099
AlmaLinux 9 shim-x64 +2 15.6-1.el9.alma ALSA-2022:5099
AlmaLinux 8 grub2-pc +16 1:2.02-123.el8_6.8.alma ALSA-2022:5095
AlmaLinux 8 shim-x64 +3 15.6-1.el8.alma ALSA-2022:5095

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 mokutil 2:0.4.0-8.el9_0.1 RLSA-2022:5099
Rocky Linux 9 shim 15.6-1.el9 RLSA-2022:5099
Rocky Linux 8 grub2 1:2.02-123.el8_6.8 RLSA-2022:5095
Rocky Linux 8 mokutil 1:0.3.0-11.el8_6.1 RLSA-2022:5095
Rocky Linux 8 shim +1 15.6-1.el8 RLSA-2022:5095
ReleasePackageFixed inAdvisory
SLES 15 SP4 grub2 2.06-150400.11.5.2 SUSE-SU-2022:2035-1
SLES 15 SP3 grub2 2.04-150300.22.20.2 SUSE-SU-2022:2064-1
SLES 15 SP2 grub2 2.04-150200.9.63.2 SUSE-SU-2022:2074-1
SLES 15 SP1 grub2 2.02-150100.123.12.2 SUSE-SU-2022:2041-1
SLES 15 grub2 2.02-150000.122.12.2 SUSE-SU-2022:2036-1
Show 27 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 grub2 2.02-143.2 SUSE-SU-2022:2038-1
SLES 12 SP4 grub2 2.02-143.2 SUSE-SU-2022:2038-1
SLES 12 SP3 grub2 2.02-137.2 SUSE-SU-2022:2037-1
SLES 12 SP2 grub2 2.02-115.67.2 SUSE-SU-2022:2039-1
SLES for SAP 15 SP2 grub2 2.04-150200.9.63.2 SUSE-SU-2022:2074-1
SLES for SAP 15 SP1 grub2 2.02-150100.123.12.2 SUSE-SU-2022:2041-1
SLES for SAP 15 grub2 2.02-150000.122.12.2 SUSE-SU-2022:2036-1
SLES for SAP 12 SP5 grub2 2.02-143.2 SUSE-SU-2022:2038-1
SLES for SAP 12 SP4 grub2 2.02-143.2 SUSE-SU-2022:2038-1
SLES for SAP 12 SP3 grub2 2.02-137.2 SUSE-SU-2022:2037-1
SLE Micro 5.2 grub2 2.04-150300.22.20.2 SUSE-SU-2022:2064-1
SLE Micro 5.1 grub2 2.04-150300.3.5.1 SUSE-SU-2022:2073-1
SLE HPC 15 SP2 grub2 2.04-150200.9.63.2 SUSE-SU-2022:2074-1
SLE HPC 15 SP1 grub2 2.02-150100.123.12.2 SUSE-SU-2022:2041-1
SLE HPC 15 grub2 2.02-150000.122.12.2 SUSE-SU-2022:2036-1
SUSE OpenStack Cloud Crowbar 9 grub2 2.02-143.2 SUSE-SU-2022:2038-1
SUSE OpenStack Cloud Crowbar 8 grub2 2.02-137.2 SUSE-SU-2022:2037-1
SUSE OpenStack Cloud 9 grub2 2.02-143.2 SUSE-SU-2022:2038-1
SUSE OpenStack Cloud 8 grub2 2.02-137.2 SUSE-SU-2022:2037-1
SUSE Manager Server 4.1 grub2 2.04-150200.9.63.2 SUSE-SU-2022:2074-1
SUSE Manager Retail Branch Server 4.1 grub2 2.04-150200.9.63.2 SUSE-SU-2022:2074-1
SUSE Manager Proxy Module 4.3 grub2 2.06-150400.11.5.2 SUSE-SU-2022:2035-1
SUSE Manager Proxy Module 4.2 grub2 2.04-150300.22.20.2 SUSE-SU-2022:2064-1
SUSE Manager Proxy 4.1 grub2 2.04-150200.9.63.2 SUSE-SU-2022:2074-1
SUSE HPE Helion OpenStack 8 grub2 2.02-137.2 SUSE-SU-2022:2037-1
SUSE Enterprise Storage 7 grub2 2.04-150200.9.63.2 SUSE-SU-2022:2074-1
SUSE Enterprise Storage 6 grub2 2.02-150100.123.12.2 SUSE-SU-2022:2041-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed grub2 2.06-25.1 openSUSE-SU-2024:12137-1
openSUSE Leap 15.4 grub2 2.06-150400.11.5.2 SUSE-SU-2022:2035-1
openSUSE Leap 15.3 grub2 2.04-150300.22.20.2 SUSE-SU-2022:2064-1
ReleasePackageFixed inAdvisory
Alpine v3.24 grub 2.06-r13 —
Alpine v3.23 grub 2.06-r13 —
Alpine v3.22 grub 2.06-r13 —
Alpine v3.21 grub 2.06-r13 —
Alpine v3.20 grub 2.06-r13 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 grub 2.06-r13 —
Alpine v3.18 grub 2.06-r12 —
Alpine v3.17 grub 2.06-r8 —
Alpine v3.16 grub 2.06-r3 —
Alpine v3.15 grub 2.06-r3 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 grub2-pc +16 1:2.06-61.amzn2023.0.3 ALAS2023-2023-020
Amazon Linux 2 grub2 +17 1:2.06-14.amzn2 ALAS2-2023-2146

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 grub2 2.06-14 —
Azure Linux 2 (CBL-Mariner) grub2 2.06-12 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 grub2-pc +12 1:2.06-27.0.6.el9_0.7 ELSA-2022-9596, ELSA-2022-5099
Oracle Linux 9 kernel-uek +34 6.12.0-101.33.4.3.el10uek ELSA-2025-20530, ELSA-2025-20480
Oracle Linux 8 grub2-pc +15 1:2.02-123.0.3.el8 ELSA-2022-9595, ELSA-2022-9471, ELSA-2022-5095
Oracle Linux 7 grub2 +12 1:2.02-0.87.0.21.el7_9.9 ELSA-2023-12952, ELSA-2022-9469
Oracle Linux 7 grub2-efi-aa64 +2 1:2.02-0.87.0.26.el7_9.9 ELSA-2023-12952

Advisories 32

References