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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: redhat

Published: 2020-07-31T20:55:55

Updated: 2021-05-01T01:08:02

Reserved: 2020-06-17T00:00:00


Link: CVE-2020-14310

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2020-07-31T22:15:11.500

Modified: 2023-11-07T03:17:08.007


Link: CVE-2020-14310

JSON object: View

cve-icon Redhat Information

No data.