CVE-2020-15707GRUB2 contained integer overflows when handling the initrd command, leading to a…
Integer overflows were discovered in the functions grub_cmd_initrd and grub_initrd_init in the efilinux component of GRUB2, as shipped in Debian, Red Hat, and Ubuntu (the functionality is not included in GRUB2 upstream), leading to a heap-based buffer overflow. These could be triggered by an extremely large number of arguments to the initrd command on 32-bit architectures, or a crafted filesystem with very large files on any architecture. An attacker could use this to execute arbitrary code and bypass UEFI Secure Boot restrictions. This issue affects GRUB2 version 2.04 and prior versions.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2-signed | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | grub2 | Fixed | 2.04-1ubuntu26.1 | UBUNTU-CVE-2020-15707 |
| Ubuntu 20.04 | grub2-signed | Fixed | 1.142.3 | UBUNTU-CVE-2020-15707 |
| Ubuntu 20.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | grub2 | Fixed | 2.02-2ubuntu8.16 | UBUNTU-CVE-2020-15707 |
| Ubuntu 18.04 | grub2-signed | Fixed | 1.93.18 | UBUNTU-CVE-2020-15707 |
| Ubuntu 18.04 | grub2-unsigned | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | grub2 | Fixed | 2.02~beta2-36ubuntu3.26 | UBUNTU-CVE-2020-15707 |
| Ubuntu 16.04 | grub2-signed | Fixed | 1.66.26 | UBUNTU-CVE-2020-15707 |
| Ubuntu 16.04 | grub2-unsigned | Fix pending | UBUNTU-CVE-2020-15707 | |
| Ubuntu 14.04 | grub2 | Fix pending | 2.02~beta2-9ubuntu1.20 (Ubuntu Pro) | UBUNTU-CVE-2020-15707 |
| Ubuntu 14.04 | grub2-signed | Fix pending | 1.34.22 (Ubuntu Pro) | UBUNTU-CVE-2020-15707 |
| Debian 14 | grub2 | Fixed | 2.04-9 | DEBIAN-CVE-2020-15707 |
| Debian 13 | grub2 | Fixed | 2.04-9 | DEBIAN-CVE-2020-15707 |
| Debian 12 | grub2 | Fixed | 2.04-9 | DEBIAN-CVE-2020-15707 |
| Red Hat Enterprise Linux 8 | fwupd | Fixed | 0:1.1.4-7.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2 | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-common | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-aa64 | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-aa64-cdboot | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-aa64-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-ia32 | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-ia32-cdboot | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-ia32-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-x64 | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-x64-cdboot | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-efi-x64-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-pc | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-pc-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-ppc64le | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-ppc64le-modules | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-tools | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-tools-efi | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-tools-extra | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | grub2-tools-minimal | Fixed | 1:2.02-87.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim | Fixed | 0:15-14.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim-aa64 | Fixed | 0:15-14.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim-ia32 | Fixed | 0:15-14.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim-unsigned-x64 | Fixed | 0:15-7.el8 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 8 | shim-x64 | Fixed | 0:15-14.el8_2 | RHSA-2020:3216 |
| Red Hat Enterprise Linux 7 | fwupdate | Fixed | 0:12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | fwupdate-devel | Fixed | 0:12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | fwupdate-efi | Fixed | 0:12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | fwupdate-libs | Fixed | 0:12-6.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2 | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-common | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-aa64-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-ia32 | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-ia32-cdboot | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-ia32-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-x64 | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-x64-cdboot | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-efi-x64-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-pc | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-pc-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc64 | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc64-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc64le | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-ppc64le-modules | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-tools | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-tools-extra | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | grub2-tools-minimal | Fixed | 1:2.02-0.86.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | mokutil | Fixed | 0:15-7.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim | Fixed | 0:15-7.el7_9 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-ia32 | Fixed | 0:15-7.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-signed | Fixed | 0:15-7.el7_8 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-unsigned-ia32 | Fixed | 0:15-7.el7_9 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-unsigned-x64 | Fixed | 0:15-7.el7_9 | RHSA-2020:3217 |
| Red Hat Enterprise Linux 7 | shim-x64 | Fixed | 0:15-7.el7_8 | RHSA-2020:3217 |
| Alpine Linux 3.24 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-15707 |
| Alpine Linux 3.23 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-15707 |
| Alpine Linux 3.22 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-15707 |
| Alpine Linux 3.21 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-15707 |
| Alpine Linux 3.20 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-15707 |
| Alpine Linux 3.19 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-15707 |
| Alpine Linux 3.18 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-15707 |
| Alpine Linux 3.17 | grub | Fixed | 2.06-r0 | ALPINE-CVE-2020-15707 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Ubuntu grub2 in Ubuntu: affected: 20.04 LTS to before 2.04-1ubuntu26.1, 18.04 LTS to before 2.02-2ubuntu8.16, 16.04 LTS to before 2.02~beta2-36ubuntu3.26, 14.04 ESM to before 2.02~beta2-9ubuntu1.20; fixed in
2.04-1ubuntu26.1,2.02-2ubuntu8.16,2.02~beta2-36ubuntu3.26,2.02~beta2-9ubuntu1.20
Vendor advisories:
- https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass (vendor-advisory)
- http://ubuntu.com/security/notices/USN-4432-1 (vendor-advisory)
- https://www.debian.org/security/2020-GRUB-UEFI-SecureBoot (vendor-advisory)
- https://access.redhat.com/security/vulnerabilities/grub2bootloader (vendor-advisory)
- https://www.suse.com/c/suse-addresses-grub2-secure-boot-issue/ (vendor-advisory)
- https://www.suse.com/support/kb/doc/?id=000019673 (vendor-advisory)
References
- https://www.eclypsium.com/2020/07/29/theres-a-hole-in-the-boot/
- https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass
- http://ubuntu.com/security/notices/USN-4432-1
- https://www.debian.org/security/2020-GRUB-UEFI-SecureBoot
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011
- https://access.redhat.com/security/vulnerabilities/grub2bootloader
- https://www.suse.com/c/suse-addresses-grub2-secure-boot-issue/
- https://www.suse.com/support/kb/doc/?id=000019673
- https://www.openwall.com/lists/oss-security/2020/07/29/3
- https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html
- https://www.debian.org/security/2020/dsa-4735
- http://www.openwall.com/lists/oss-security/2020/07/29/3
- https://security.netapp.com/advisory/ntap-20200731-0008/
- https://usn.ubuntu.com/4432-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html
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.