CVEfocus › CVE database › CVE-2020-14310

CVE-2020-14310

CVSS 5.7 MediumEPSS 0.5% (higher than 32% of CVEs)Published 2020-07-31Updated 2024-08-04Assigner: redhat

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.

CWE-122CWE-190

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

74Fixed
3Fix pending
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04grub2Not affected
vulnerable_code_not_present
Ubuntu 26.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 26.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 25.10grub2Not affected
vulnerable_code_not_present
Ubuntu 25.10grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 25.10grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 24.04grub2Not affected
vulnerable_code_not_present
Ubuntu 24.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 24.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 22.04grub2Not affected
vulnerable_code_not_present
Ubuntu 22.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 22.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 20.04grub2Fixed2.04-1ubuntu26.1UBUNTU-CVE-2020-14310
Ubuntu 20.04grub2-signedFixed1.142.3UBUNTU-CVE-2020-14310
Ubuntu 20.04grub2-unsignedFixed2.04-1ubuntu47.4UBUNTU-CVE-2020-14310
Ubuntu 18.04grub2Fixed2.02-2ubuntu8.16UBUNTU-CVE-2020-14310
Ubuntu 18.04grub2-signedFixed1.93.18UBUNTU-CVE-2020-14310
Ubuntu 18.04grub2-unsignedFixed2.04-1ubuntu47.4UBUNTU-CVE-2020-14310
Ubuntu 16.04grub2Fixed2.02~beta2-36ubuntu3.26UBUNTU-CVE-2020-14310
Ubuntu 16.04grub2-signedFixed1.66.26UBUNTU-CVE-2020-14310
Ubuntu 16.04grub2-unsignedFix pendingUBUNTU-CVE-2020-14310
Ubuntu 14.04grub2Fix pending2.02~beta2-9ubuntu1.20 (Ubuntu Pro)UBUNTU-CVE-2020-14310
Ubuntu 14.04grub2-signedFix pending1.34.22 (Ubuntu Pro)UBUNTU-CVE-2020-14310
Debian 14grub2Fixed2.04-9DEBIAN-CVE-2020-14310
Debian 13grub2Fixed2.04-9DEBIAN-CVE-2020-14310
Debian 12grub2Fixed2.04-9DEBIAN-CVE-2020-14310
Red Hat Enterprise Linux 8fwupdFixed0:1.1.4-7.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2Fixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-commonFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-aa64Fixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-aa64-cdbootFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-aa64-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-ia32Fixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-ia32-cdbootFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-ia32-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-x64Fixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-x64-cdbootFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-efi-x64-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-pcFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-pc-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-ppc64leFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-ppc64le-modulesFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-toolsFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-tools-efiFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-tools-extraFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8grub2-tools-minimalFixed1:2.02-87.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8shimFixed0:15-14.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8shim-aa64Fixed0:15-14.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8shim-ia32Fixed0:15-14.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 8shim-unsigned-x64Fixed0:15-7.el8RHSA-2020:3216
Red Hat Enterprise Linux 8shim-x64Fixed0:15-14.el8_2RHSA-2020:3216
Red Hat Enterprise Linux 7fwupdateFixed0:12-6.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7fwupdate-develFixed0:12-6.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7fwupdate-efiFixed0:12-6.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7fwupdate-libsFixed0:12-6.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2Fixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-commonFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-aa64-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-ia32Fixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-ia32-cdbootFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-ia32-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-x64Fixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-x64-cdbootFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-efi-x64-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-pcFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-pc-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc64Fixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc64-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc64leFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-ppc64le-modulesFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-toolsFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-tools-extraFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7grub2-tools-minimalFixed1:2.02-0.86.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7mokutilFixed0:15-7.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7shimFixed0:15-7.el7_9RHSA-2020:3217
Red Hat Enterprise Linux 7shim-ia32Fixed0:15-7.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7shim-signedFixed0:15-7.el7_8RHSA-2020:3217
Red Hat Enterprise Linux 7shim-unsigned-ia32Fixed0:15-7.el7_9RHSA-2020:3217
Red Hat Enterprise Linux 7shim-unsigned-x64Fixed0:15-7.el7_9RHSA-2020:3217
Red Hat Enterprise Linux 7shim-x64Fixed0:15-7.el7_8RHSA-2020:3217
Alpine Linux 3.24grubFixed2.06-r0ALPINE-CVE-2020-14310
Alpine Linux 3.23grubFixed2.06-r0ALPINE-CVE-2020-14310
Alpine Linux 3.22grubFixed2.06-r0ALPINE-CVE-2020-14310
Alpine Linux 3.21grubFixed2.06-r0ALPINE-CVE-2020-14310
Alpine Linux 3.20grubFixed2.06-r0ALPINE-CVE-2020-14310
Alpine Linux 3.19grubFixed2.06-r0ALPINE-CVE-2020-14310
Alpine Linux 3.18grubFixed2.06-r0ALPINE-CVE-2020-14310
Alpine Linux 3.17grubFixed2.06-r0ALPINE-CVE-2020-14310

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.