CVEfocus › CVE database › CVE-2020-25647

CVE-2020-25647

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

A flaw was found in grub2 in versions prior to 2.06. During USB device initialization, descriptors are read with very little bounds checking and assumes the USB device is providing sane values. If properly exploited, an attacker could trigger memory corruption leading to arbitrary code execution allowing a bypass of the Secure Boot mechanism. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CWE-787

What to do

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

Red Hat 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

63Fixed
6Fix pending
3Will not fix
17Not 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 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-signedNot affected
vulnerable_code_not_present
Ubuntu 20.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 18.04grub2Not affected
vulnerable_code_not_present
Ubuntu 18.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 18.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 16.04grub2Not affected
vulnerable_code_not_present
Ubuntu 16.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 16.04grub2-unsignedNot affected
vulnerable_code_not_present
Debian 14grub2Fixed2.04-16DEBIAN-CVE-2020-25647
Debian 13grub2Fixed2.04-16DEBIAN-CVE-2020-25647
Debian 12grub2Fixed2.04-16DEBIAN-CVE-2020-25647
Red Hat Enterprise Linux 8fwupdFixed0:1.5.9-1.el8_4RHSA-2021:2566
Red Hat Enterprise Linux 8fwupdateWill not fix
Will not fix
Red Hat Enterprise Linux 8fwupdate-efiWill not fix
Will not fix
Red Hat Enterprise Linux 8fwupdate-libsWill not fix
Will not fix
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-25647
Alpine Linux 3.23grubFixed2.06-r0ALPINE-CVE-2020-25647
Alpine Linux 3.22grubFixed2.06-r0ALPINE-CVE-2020-25647
Alpine Linux 3.21grubFixed2.06-r0ALPINE-CVE-2020-25647
Alpine Linux 3.20grubFixed2.06-r0ALPINE-CVE-2020-25647
Alpine Linux 3.19grubFixed2.06-r0ALPINE-CVE-2020-25647
Alpine Linux 3.18grubFixed2.06-r0ALPINE-CVE-2020-25647
Alpine Linux 3.17grubFixed2.06-r0ALPINE-CVE-2020-25647

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.