CVE-2020-14310: canonical ubuntu_linux Heap-based Buffer Overflow
Vulnerability summary
CVE-2020-14310 is a medium (CVSS 6.0) Heap-based Buffer Overflow vulnerability in canonical ubuntu_linux. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 39.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 21 · Related 10Timeline
- 31-07-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- CVE.orgCNA5.7MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:HDiffers
- OSV · AlpineEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.0MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
0.00 pp
From 0.48% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected systems
Redhat4 products
- enterprise_linuxEOL7.0 | 8.0
- enterprise_linux_eus8.1 | 8.2
- enterprise_linux_server_aus8.2
- enterprise_linux_server_tus8.2
Ubuntu3 products
- grub2< 2.02~beta2-9ubuntu1.20 | < 2.02~beta2-36ubuntu3.26 | < 2.02-2ubuntu8.16 | < 2.04-1ubuntu26.1
- grub2-signed< 1.34.22 | < 1.66.26 | < 1.93.18 | < 1.142.3
- grub2-unsignedAll versions (No fix recorded) | < 2.04-1ubuntu47.4
Alpine1 product
- grub< 2.06-r0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04 | 20.04
Debian1 product
- grub2< 2.04-9
Gnu1 product
- grub2< 2.06
Opensuse1 product
- leapEOL15.1 | 15.2
The grub2 project1 product
- grub22.06
8 vendors · 13 products
References
15 links- lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory