CVEfocus › CVE database › CVE-2020-27749

CVE-2020-27749

EPSS 0.6% (higher than 41% of CVEs)Published 2021-03-03Updated 2024-08-04Assigner: redhat

A flaw was found in grub2 in versions prior to 2.06. Variable names present are expanded in the supplied command line into their corresponding variable contents, using a 1kB stack buffer for temporary storage, without sufficient bounds checking. If the function is called with a command line that references a variable with a sufficiently large payload, it is possible to overflow the stack buffer, corrupt the stack frame and control execution which could also circumvent Secure Boot protections. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CWE-121

What to do

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

Red Hat, Ubuntu have 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

67Fixed
9Fix pending
18Not 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.04grub2Not affected
vulnerable_code_not_present
Ubuntu 20.04grub2-signedFixed1.167.2UBUNTU-CVE-2020-27749
Ubuntu 20.04grub2-unsignedFixed2.04-1ubuntu44.2UBUNTU-CVE-2020-27749
Ubuntu 18.04grub2Fix pending
Ubuntu 18.04grub2-signedFixed1.167~18.04.5UBUNTU-CVE-2020-27749
Ubuntu 18.04grub2-unsignedFixed2.04-1ubuntu44.1.2UBUNTU-CVE-2020-27749
Ubuntu 16.04grub2Fix pending
Ubuntu 14.04grub2-signedFix pendingUBUNTU-CVE-2020-27749
Debian 14grub2Fixed2.04-16DEBIAN-CVE-2020-27749
Debian 13grub2Fixed2.04-16DEBIAN-CVE-2020-27749
Debian 12grub2Fixed2.04-16DEBIAN-CVE-2020-27749
Red Hat Enterprise Linux 8fwupdFixed0:1.5.9-1.el8_4RHSA-2021:2566
Red Hat Enterprise Linux 8grub2Fixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-commonFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-aa64Fixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-aa64-cdbootFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-aa64-modulesFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-ia32Fixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-ia32-cdbootFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-ia32-modulesFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-x64Fixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-x64-cdbootFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-efi-x64-modulesFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-pcFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-pc-modulesFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-ppc64leFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-ppc64le-modulesFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-toolsFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-tools-efiFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-tools-extraFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8grub2-tools-minimalFixed1:2.02-90.el8_3.1RHSA-2021:0696
Red Hat Enterprise Linux 8shimFixed0:15.4-2.el8_1RHSA-2021:1734
Red Hat Enterprise Linux 8shim-aa64Fixed0:15.4-2.el8_1RHSA-2021:1734
Red Hat Enterprise Linux 8shim-ia32Fixed0:15.4-2.el8_1RHSA-2021:1734
Red Hat Enterprise Linux 8shim-unsigned-aarch64Fixed0:15-7.el8_1RHSA-2021:1734
Red Hat Enterprise Linux 8shim-unsigned-x64Fixed0:15.4-4.el8_1RHSA-2021:1734
Red Hat Enterprise Linux 8shim-x64Fixed0:15.4-2.el8_1RHSA-2021:1734
Red Hat Enterprise Linux 7fwupdFix pending
Affected
Red Hat Enterprise Linux 7fwupd-develFix pending
Affected
Red Hat Enterprise Linux 7fwupdateFix pending
Affected
Red Hat Enterprise Linux 7fwupdate-develFix pending
Affected
Red Hat Enterprise Linux 7fwupdate-efiFix pending
Affected
Red Hat Enterprise Linux 7fwupdate-libsFix pending
Affected
Red Hat Enterprise Linux 7grub2Fixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-commonFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-efi-aa64-modulesFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-efi-ia32Fixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-efi-ia32-cdbootFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-efi-ia32-modulesFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-efi-x64Fixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-efi-x64-cdbootFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-efi-x64-modulesFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-pcFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-pc-modulesFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-ppc-modulesFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-ppc64Fixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-ppc64-modulesFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-ppc64leFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-ppc64le-modulesFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-toolsFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-tools-extraFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7grub2-tools-minimalFixed1:2.02-0.87.el7_9.2RHSA-2021:0699
Red Hat Enterprise Linux 7mokutilNot affected
Red Hat Enterprise Linux 7shimNot affected
Red Hat Enterprise Linux 7shim-unsignedNot affected
Red Hat Enterprise Linux 7shim-unsigned-ia32Not affected
Red Hat Enterprise Linux 7shim-unsigned-x64Not affected
AlmaLinux 8shim-aa64Fixed15.4-2.el8_1.almaALSA-2021:1734
AlmaLinux 8shim-ia32Fixed15.4-2.el8_1.almaALSA-2021:1734
AlmaLinux 8shim-unsigned-aarch64Fixed15-7.el8_1.almaALSA-2021:1734
AlmaLinux 8shim-unsigned-x64Fixed15.4-4.el8_1.almaALSA-2021:1734
AlmaLinux 8shim-x64Fixed15.4-2.el8_1.almaALSA-2021:1734
Rocky Linux 8fwupdFixed0:1.5.9-1.el8_4RLSA-2021:2566
Rocky Linux 8shim-unsigned-aarch64Fixed0:15-7.el8.1.1RLSA-2021:1734
Alpine Linux 3.24grubFixed2.06-r0ALPINE-CVE-2020-27749
Alpine Linux 3.23grubFixed2.06-r0ALPINE-CVE-2020-27749
Alpine Linux 3.22grubFixed2.06-r0ALPINE-CVE-2020-27749
Alpine Linux 3.21grubFixed2.06-r0ALPINE-CVE-2020-27749
Alpine Linux 3.20grubFixed2.06-r0ALPINE-CVE-2020-27749
Alpine Linux 3.19grubFixed2.06-r0ALPINE-CVE-2020-27749
Alpine Linux 3.18grubFixed2.06-r0ALPINE-CVE-2020-27749
Alpine Linux 3.17grubFixed2.06-r0ALPINE-CVE-2020-27749

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.