CVEfocus › CVE database › CVE-2021-3418

CVE-2021-3418

CVSS 6.4 MediumEPSS 0.5% (higher than 41% of CVEs)Published 2021-03-15Updated 2024-08-03Assigner: redhat

If certificates that signed grub are installed into db, grub can be booted directly. It will then boot any kernel without signature validation. The booted kernel will think it was booted in secureboot mode and will implement lockdown, yet it could have been tampered. This flaw is a reintroduction of CVE-2020-15705 and only affects grub2 versions prior to 2.06 and upstream and distributions using the shim_lock mechanism.

CWE-281

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

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

8Fixed
52Not 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
Red Hat Enterprise Linux 8grub2Not affected
Red Hat Enterprise Linux 8grub2-commonNot affected
Red Hat Enterprise Linux 8grub2-efi-aa64Not affected
Red Hat Enterprise Linux 8grub2-efi-aa64-cdbootNot affected
Red Hat Enterprise Linux 8grub2-efi-aa64-modulesNot affected
Red Hat Enterprise Linux 8grub2-efi-ia32Not affected
Red Hat Enterprise Linux 8grub2-efi-ia32-cdbootNot affected
Red Hat Enterprise Linux 8grub2-efi-ia32-modulesNot affected
Red Hat Enterprise Linux 8grub2-efi-x64Not affected
Red Hat Enterprise Linux 8grub2-efi-x64-cdbootNot affected
Red Hat Enterprise Linux 8grub2-efi-x64-modulesNot affected
Red Hat Enterprise Linux 8grub2-pcNot affected
Red Hat Enterprise Linux 8grub2-pc-modulesNot affected
Red Hat Enterprise Linux 8grub2-ppc64leNot affected
Red Hat Enterprise Linux 8grub2-ppc64le-modulesNot affected
Red Hat Enterprise Linux 8grub2-toolsNot affected
Red Hat Enterprise Linux 8grub2-tools-efiNot affected
Red Hat Enterprise Linux 8grub2-tools-extraNot affected
Red Hat Enterprise Linux 8grub2-tools-minimalNot affected
Red Hat Enterprise Linux 7grub2Not affected
Red Hat Enterprise Linux 7grub2-commonNot affected
Red Hat Enterprise Linux 7grub2-efiNot affected
Red Hat Enterprise Linux 7grub2-efi-aa64-modulesNot affected
Red Hat Enterprise Linux 7grub2-efi-ia32Not affected
Red Hat Enterprise Linux 7grub2-efi-ia32-cdbootNot affected
Red Hat Enterprise Linux 7grub2-efi-ia32-modulesNot affected
Red Hat Enterprise Linux 7grub2-efi-modulesNot affected
Red Hat Enterprise Linux 7grub2-efi-x64Not affected
Red Hat Enterprise Linux 7grub2-efi-x64-cdbootNot affected
Red Hat Enterprise Linux 7grub2-efi-x64-modulesNot affected
Red Hat Enterprise Linux 7grub2-pcNot affected
Red Hat Enterprise Linux 7grub2-pc-modulesNot affected
Red Hat Enterprise Linux 7grub2-ppc-modulesNot affected
Red Hat Enterprise Linux 7grub2-ppc64Not affected
Red Hat Enterprise Linux 7grub2-ppc64-modulesNot affected
Red Hat Enterprise Linux 7grub2-ppc64leNot affected
Red Hat Enterprise Linux 7grub2-ppc64le-modulesNot affected
Red Hat Enterprise Linux 7grub2-toolsNot affected
Red Hat Enterprise Linux 7grub2-tools-extraNot affected
Red Hat Enterprise Linux 7grub2-tools-minimalNot affected
Alpine Linux 3.24grubFixed2.06-r0ALPINE-CVE-2021-3418
Alpine Linux 3.23grubFixed2.06-r0ALPINE-CVE-2021-3418
Alpine Linux 3.22grubFixed2.06-r0ALPINE-CVE-2021-3418
Alpine Linux 3.21grubFixed2.06-r0ALPINE-CVE-2021-3418
Alpine Linux 3.20grubFixed2.06-r0ALPINE-CVE-2021-3418
Alpine Linux 3.19grubFixed2.06-r0ALPINE-CVE-2021-3418
Alpine Linux 3.18grubFixed2.06-r0ALPINE-CVE-2021-3418
Alpine Linux 3.17grubFixed2.06-r0ALPINE-CVE-2021-3418

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.

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.