CVE-2020-14310 Integer overflow in grub2

Medium 5.7 Published Updated

An integer overflow in GRUB2 allows attackers to trigger a heap buffer overflow via a malicious font file, potentially leading to code execution and privilege escalation.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2020-14310?

CVE-2020-14310 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 31 Jul 2020. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-190, CWE-122

Which versions are affected by CVE-2020-14310?

It affects 7 products.

Products include Canonical Ubuntu Linux, Gnu Grub2, Opensuse Leap, Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux Server Aus and 1 more.

How do I fix CVE-2020-14310?

Upgrade to a fixed version.

Is CVE-2020-14310 being exploited?

There is no known exploitation of CVE-2020-14310 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-14310, AZL-6458, DEBIAN-CVE-2020-14310, GHSA-849w-6cw8-9p7m, UBUNTU-CVE-2020-14310.

Is CVE-2020-14310 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free