CVE-2020-14310

Medium

Description

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.

SeverityMedium
CVSS5.7
Exploit probability—
ProductGnu Grub2
PublishedJul 31, 2020
First seenJul 31, 2020

How to fix

Update
  • gnu grub22.06 or later

Affected products

ProductAffected versionsFixed in
gnu grub2v < 2.062.06
redhat enterprise_linux7.0, 8.0—
redhat enterprise_linux_eus8.1, 8.2—
redhat enterprise_linux_server_aus8.2—
redhat enterprise_linux_server_tus8.2—
opensuse leap15.1, 15.2—
canonical ubuntu_linux14.04, 16.04, 18.04, 20.04—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.