PT-2022-5548 · Grub2+10 · Grub2+10

Marco Benatto

·

Published

2022-06-07

·

Updated

2024-09-05

·

CVE-2021-3697

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions grub2 versions prior to 2.12
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 successfully exploit this issue, an attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This can lead to data corruption and eventual code execution or secure boot circumvention. The exploitation allows an attacker to access confidential data, compromise their integrity, and cause a denial of service using a specially crafted JPEG image.
Recommendations For versions prior to 2.12, update to version 2.12 or later to resolve the issue. As a temporary workaround, consider restricting the use of JPEG images in the grub2 environment until a patch is available. Avoid using maliciously crafted JPEG images to minimize the risk of exploitation. At the moment, there is no other information about additional mitigation measures.

Fix

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:5095
ALSA-2022:5099
ALT-PU-2023-1427
ALT-PU-2023-6074
ALT-PU-2024-11222
AZL-31036
AZL-34785
BDU:2022-06891
CESA-2022_5095
CVE-2021-3697
OESA-2022-1734
OPENSUSE-SU-2022_2035-1
OPENSUSE-SU-2022_2064-1
OPENSUSE-SU-2024:12137-1
RHSA-2022:5095
RHSA-2022:5096
RHSA-2022:5098
RHSA-2022:5099
RHSA-2022:5100
RHSA-2022_5095
RHSA-2022_5099
RLSA-2022:5095
RLSA-2022:5099
SUSE-SU-2022:2035-1
SUSE-SU-2022:2036-1
SUSE-SU-2022:2037-1
SUSE-SU-2022:2038-1
SUSE-SU-2022:2039-1
SUSE-SU-2022:2041-1
SUSE-SU-2022:2064-1
SUSE-SU-2022:2073-1
SUSE-SU-2022:2074-1
USN-6355-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Grub2