PT-2020-3622 · Gnu+7 · Grub2+7

Chris Coulson

·

Published

2020-07-29

·

Updated

2022-09-20

·

CVE-2020-14310

CVSS v3.1

5.7

Medium

VectorAV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions grub2 versions prior to 2.06
Description The issue is related to the read section as string() function, which expects a font name to be at most UINT32 MAX - 1 length in bytes but does not verify it before proceeding with buffer allocation. This can lead to an arithmetic overflow, zero-sized allocation, and further heap-based buffer overflow when a malicious font file with a name of UINT32 MAX length is crafted. An attacker may leverage this to impact data integrity or cause a denial of service.
Recommendations For versions prior to 2.06, as a temporary workaround, consider disabling the read section as string() function until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Integer Overflow

Heap Based Buffer Overflow

Memory Corruption

Weakness Enumeration

Related Identifiers

ALT-PU-2020-3534
ALT-PU-2021-1969
ALT-PU-2021-3464
AZL-6458
BDU:2020-03969
CESA-2020_3216
CESA-2020_3217
CVE-2020-14310
DSA-4735-1
DSA-4735-2
MGASA-2021-0315
OPENSUSE-SU-2020:1168-1
OPENSUSE-SU-2020:1169-1
OPENSUSE-SU-2020_1168-1
OPENSUSE-SU-2020_1169-1
RHSA-2020:3216
RHSA-2020:3217
RHSA-2020:3223
RHSA-2020:3227
RHSA-2020:3271
RHSA-2020:3273
RHSA-2020:3274
RHSA-2020:3275
RHSA-2020:3276
RHSA-2020_3216
RHSA-2020_3217
SUSE-SU-2020:14440-1
SUSE-SU-2020:2073-1
SUSE-SU-2020:2074-1
SUSE-SU-2020:2076-1
SUSE-SU-2020:2077-1
SUSE-SU-2020:2078-1
SUSE-SU-2020:2079-1
USN-4432-1
USN-4432-2

Affected Products

Alt Linux
Centos
Linuxmint
Red Hat
Red Os
Suse
Ubuntu
Grub2