CVE-2020-15707
GRUB2 contained integer overflows when handling the initrd command, leading to a heap-based buffer overflow.
- State
- Published
- Severity
- 5.7 Medium
- Published
- Jul 29, 2020
- Updated
- Sep 17, 2024
- Reserved
- Jul 14, 2020
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.7 Medium | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H | canonical |
Weaknesses
- CWE-362 Race Condition (Concurrent Execution using Shared Resource with Improper Synchronization)
Affected Products
| Product | Versions |
|---|---|
grub2 in UbuntuUbuntu |
|
References
- https://www.eclypsium.com/2020/07/29/theres-a-hole-in-the-boot/
- https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypassvendor-advisory
- http://ubuntu.com/security/notices/USN-4432-1vendor-advisory
- https://www.debian.org/security/2020-GRUB-UEFI-SecureBootvendor-advisory
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011
- https://access.redhat.com/security/vulnerabilities/grub2bootloadervendor-advisory
- https://www.suse.com/c/suse-addresses-grub2-secure-boot-issue/vendor-advisory
- https://www.suse.com/support/kb/doc/?id=000019673vendor-advisory
- https://www.openwall.com/lists/oss-security/2020/07/29/3
- https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html
- DSA-4735vendor-advisory
- [oss-security] 20200729 multiple secure boot grub2 and linux kernel vulnerabilitiesmailing-list
- https://security.netapp.com/advisory/ntap-20200731-0008/
- USN-4432-1vendor-advisory
- openSUSE-SU-2020:1169vendor-advisory
- openSUSE-SU-2020:1168vendor-advisory
- GLSA-202104-05vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.