CVE-2020-14310 MEDIUM

CVE-2020-14310

Vendor The Grub2 Project
Product grub2
Weakness CWE-190
Published July 31, 2020
Last update August 4, 2024

CVSS base score

5.7/10
Attack vector Local
Attack complexity High
Privileges required High
User interaction None
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H

What the vulnerability does

01Description

There is an issue on grub2 before version 2.06 at function read_section_as_string(). It expects a font name to be at max UINT32_MAX - 1 length in bytes but it doesn't verify it before proceed with buffer allocation to read the value from the font value. An attacker may leverage that by crafting a malicious font file which has a name with UINT32_MAX, leading to read_section_as_string() to an arithmetic overflow, zero-sized allocation and further heap-based buffer overflow.

Key dates

02Disclosure timeline

July 31, 2020 CVE published
August 4, 2024 Record updated