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.

Project Subscriptions

Vendors Products
Canonical Subscribe
Ubuntu Linux Subscribe
Opensuse Subscribe
Enterprise Linux Subscribe
Enterprise Linux Eus Subscribe
Enterprise Linux Server Aus Subscribe
Enterprise Linux Server Tus Subscribe
Rhel Aus Subscribe
Rhel E4s Subscribe
Rhel Eus Subscribe
Rhel Tus Subscribe
Advisories
Source ID Title
Debian DSA Debian DSA DSA-4735-1 grub2 security update
EUVD EUVD EUVD-2020-6462 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.
Ubuntu USN Ubuntu USN USN-4432-1 GRUB 2 vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-04T12:39:36.404Z

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

Link: CVE-2020-14310

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T05:02:58.777

Link: CVE-2020-14310

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-07-29T17:00:00Z

Links: CVE-2020-14310 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses