Skip to content
OpenAdvisories
Medium · 5.7 CVE-2020-14310 EUVD-2020-6462GHSA-849w-6cw8-9p7m

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 len…

Published Jul 31, 2020 · Updated Aug 4, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
The Grub2 Project grub2 2.06 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 grub2 2.04-9 —
Debian 13 grub2 2.04-9 —
Debian 12 grub2 2.04-9 —
Debian 10 grub2 2.02+dfsg1-20+deb10u1 DSA-4735-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS grub2 2.04-1ubuntu26.1 USN-4432-1
Ubuntu 20.04 LTS grub2-signed 1.142.3 USN-4432-1
Ubuntu 20.04 LTS grub2-unsigned 2.04-1ubuntu47.4 —
Ubuntu 18.04 LTS grub2 2.02-2ubuntu8.16 USN-4432-1
Ubuntu 18.04 LTS grub2-signed 1.93.18 USN-4432-1
Ubuntu 18.04 LTS grub2-unsigned 2.04-1ubuntu47.4 —
Ubuntu 16.04 LTS grub2 2.02~beta2-36ubuntu3.26 USN-4432-1
Ubuntu 16.04 LTS grub2-signed 1.66.26 USN-4432-1
Ubuntu 16.04 LTS grub2-unsigned No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS grub2 2.02~beta2-9ubuntu1.20 USN-4432-1
Ubuntu Pro 14.04 LTS grub2-signed 1.34.22 USN-4432-1
ReleasePackageFixed inAdvisory
RHEL 8 fwupd 1.1.4-7.el8_2 RHSA-2020:3216
RHEL 8 grub2 +18 1:2.02-87.el8_2 RHSA-2020:3216
RHEL 8 shim +3 15-14.el8_2 RHSA-2020:3216
RHEL 8 shim-unsigned-x64 15-7.el8 RHSA-2020:3216
RHEL 7 fwupdate +3 12-6.el7_8 RHSA-2020:3217
RHEL 7 grub2 +18 1:2.02-0.86.el7_8 RHSA-2020:3217
RHEL 7 mokutil +3 15-7.el7_8 RHSA-2020:3217
RHEL 7 shim +2 15-7.el7_9 RHSA-2020:3217
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.1 EUS fwupd 1.1.4-2.el8_1 RHSA-2020:3223
RHEL 8.1 EUS grub2 +18 1:2.02-87.el8_1 RHSA-2020:3223
RHEL 8.1 EUS shim +3 15-14.el8_1 RHSA-2020:3223
RHEL 8.1 EUS shim-unsigned-x64 15-7.el8 RHSA-2020:3223
RHEL 8.0 E4S fwupd 1.1.4-2.el8_0 RHSA-2020:3227
RHEL 8.0 E4S grub2 +16 1:2.02-87.el8_0 RHSA-2020:3227
RHEL 8.0 E4S shim +2 15-14.el8_0 RHSA-2020:3227
RHEL 7.7 EUS fwupdate +3 12-6.el7_7 RHSA-2020:3274
RHEL 7.7 EUS grub2 +18 1:2.02-0.86.el7_7 RHSA-2020:3274
RHEL 7.7 EUS mokutil +3 15-8.el7_7 RHSA-2020:3274
RHEL 7.7 EUS shim +2 15-8.el7 RHSA-2020:3274
RHEL 7.6 EUS fwupdate +3 12-6.el7_6 RHSA-2020:3271
RHEL 7.6 EUS grub2 +18 1:2.02-0.86.el7_6 RHSA-2020:3271
RHEL 7.6 EUS mokutil +3 15-8.el7_6 RHSA-2020:3271
RHEL 7.6 EUS shim +2 15-8.el7 RHSA-2020:3271
RHEL 7.4 TUS fwupdate +3 9-10.el7_4 RHSA-2020:3275
RHEL 7.4 TUS grub2 +16 1:2.02-0.86.el7_4 RHSA-2020:3275
RHEL 7.4 TUS mokutil +3 15-8.el7_4 RHSA-2020:3275
RHEL 7.4 TUS shim +2 15-8.el7 RHSA-2020:3275
RHEL 7.4 E4S fwupdate +3 9-10.el7_4 RHSA-2020:3275
RHEL 7.4 E4S grub2 +17 1:2.02-0.86.el7_4 RHSA-2020:3275
RHEL 7.4 E4S mokutil +3 15-8.el7_4 RHSA-2020:3275
RHEL 7.4 E4S shim +2 15-8.el7 RHSA-2020:3275
RHEL 7.4 AUS fwupdate +3 9-10.el7_4 RHSA-2020:3275
RHEL 7.4 AUS grub2 +16 1:2.02-0.86.el7_4 RHSA-2020:3275
RHEL 7.4 AUS mokutil +3 15-8.el7_4 RHSA-2020:3275
RHEL 7.4 AUS shim +2 15-8.el7 RHSA-2020:3275
RHEL 7.3 TUS grub2 +16 1:2.02-0.86.el7 RHSA-2020:3276
RHEL 7.3 TUS mokutil +1 15-8.el7_3 RHSA-2020:3276
RHEL 7.3 TUS shim +2 15-8.el7 RHSA-2020:3276
RHEL 7.3 E4S grub2 +17 1:2.02-0.86.el7 RHSA-2020:3276
RHEL 7.3 E4S mokutil +1 15-8.el7_3 RHSA-2020:3276
RHEL 7.3 E4S shim +2 15-8.el7 RHSA-2020:3276
RHEL 7.3 AUS grub2 +16 1:2.02-0.86.el7 RHSA-2020:3276
RHEL 7.3 AUS mokutil +1 15-8.el7_3 RHSA-2020:3276
RHEL 7.3 AUS shim +2 15-8.el7 RHSA-2020:3276
RHEL 7.2 AUS grub2 +16 1:2.02-0.86.el7_2 RHSA-2020:3273
RHEL 7.2 AUS mokutil +1 15-8.el7_2 RHSA-2020:3273
RHEL 7.2 AUS shim +2 15-8.el7 RHSA-2020:3273
ReleasePackageFixed inAdvisory
SLES 15 SP2 grub2 2.04-9.7.1 SUSE-SU-2020:2074-1
SLES 15 SP1 grub2 2.02-26.25.1 SUSE-SU-2020:2077-1
SLES 15 grub2 2.02-19.48.1 SUSE-SU-2020:2073-1
SLES 12 SP5 grub2 2.02-12.31.1 SUSE-SU-2020:2078-1
SLES 12 SP4 grub2 2.02-12.31.1 SUSE-SU-2020:2078-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 grub2 2.02-4.53.1 SUSE-SU-2020:2079-1
SLES 12 SP2 grub2 2.02~beta2-115.49.1 SUSE-SU-2020:2076-1
SLES 11 SP4 grub2 2.00-0.66.15.1 SUSE-SU-2020:14440-1
SLES for SAP 15 grub2 2.02-19.48.1 SUSE-SU-2020:2073-1
SLES for SAP 12 SP5 grub2 2.02-12.31.1 SUSE-SU-2020:2078-1
SLES for SAP 12 SP4 grub2 2.02-12.31.1 SUSE-SU-2020:2078-1
SLES for SAP 12 SP3 grub2 2.02-4.53.1 SUSE-SU-2020:2079-1
SLES for SAP 12 SP2 grub2 2.02~beta2-115.49.1 SUSE-SU-2020:2076-1
SLE HPC 15 grub2 2.02-19.48.1 SUSE-SU-2020:2073-1
SUSE OpenStack Cloud Crowbar 9 grub2 2.02-12.31.1 SUSE-SU-2020:2078-1
SUSE OpenStack Cloud Crowbar 8 grub2 2.02-4.53.1 SUSE-SU-2020:2079-1
SUSE OpenStack Cloud 9 grub2 2.02-12.31.1 SUSE-SU-2020:2078-1
SUSE OpenStack Cloud 8 grub2 2.02-4.53.1 SUSE-SU-2020:2079-1
SUSE OpenStack Cloud 7 grub2 2.02~beta2-115.49.1 SUSE-SU-2020:2076-1
SUSE HPE Helion OpenStack 8 grub2 2.02-4.53.1 SUSE-SU-2020:2079-1
SUSE Enterprise Storage 5 grub2 2.02-4.53.1 SUSE-SU-2020:2079-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 grub2 2.04-lp152.7.3.4 openSUSE-SU-2020:1169-1
openSUSE Leap 15.1 grub2 2.02-lp151.21.21.4 openSUSE-SU-2020:1168-1
ReleasePackageFixed inAdvisory
Alpine v3.24 grub 2.06-r0 —
Alpine v3.23 grub 2.06-r0 —
Alpine v3.22 grub 2.06-r0 —
Alpine v3.21 grub 2.06-r0 —
Alpine v3.20 grub 2.06-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 grub 2.06-r0 —
Alpine v3.18 grub 2.06-r0 —
Alpine v3.17 grub 2.06-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) grub2 2.06~rc1-7 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 grub2-pc +15 1:2.02-82.0.2.el8_2.1 ELSA-2020-5786
Oracle Linux 7 grub2 +12 1:2.02-0.81.0.3.el7 ELSA-2020-5790, ELSA-2020-5782
Oracle Linux 7 grub2-efi-aa64 +1 1:2.02-0.81.0.4.el7 ELSA-2020-5790

Advisories 25

References