CVE-2020-14310
6.0
MEDIUM
CVSS 3.1
EPSS 0.06%
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.
How to fix CVE-2020-14310
To remediate CVE-2020-14310, upgrade the affected package to a fixed version below.
- —upgrade to 2.06-r0 or later
- —upgrade to 2.04-9 or later
Is CVE-2020-14310 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.06-r0
- from 0, < 2.04-9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.0 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H |