CVE-2020-15707

Public Exploit
GRUB2 contained integer overflows when handling the initrd command, leading to a heap-based buffer overflow.

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.

Categories

5.7
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.03%
Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory suse.com Vendor Advisory suse.com Vendor Advisory debian.org Vendor Advisory ubuntu.com Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory gentoo.org Vendor Advisory gnu.org Vendor Advisory microsoft.com
Affected: Ubuntu grub2 in Ubuntu
Published at:
Updated at:

References

Link Tags
https://www.eclypsium.com/2020/07/29/theres-a-hole-in-the-boot/ third party advisory exploit
https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/GRUB2SecureBootBypass third party advisory vendor advisory
http://ubuntu.com/security/notices/USN-4432-1 third party advisory vendor advisory
https://www.debian.org/security/2020-GRUB-UEFI-SecureBoot third party advisory vendor advisory
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011 third party advisory patch vendor advisory
https://access.redhat.com/security/vulnerabilities/grub2bootloader third party advisory vendor advisory
https://www.suse.com/c/suse-addresses-grub2-secure-boot-issue/ third party advisory vendor advisory
https://www.suse.com/support/kb/doc/?id=000019673 third party advisory vendor advisory
https://www.openwall.com/lists/oss-security/2020/07/29/3 third party advisory mailing list
https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html issue tracking vendor advisory
https://www.debian.org/security/2020/dsa-4735 third party advisory vendor advisory
http://www.openwall.com/lists/oss-security/2020/07/29/3 third party advisory mailing list
https://security.netapp.com/advisory/ntap-20200731-0008/ third party advisory
https://usn.ubuntu.com/4432-1/ third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.html mailing list third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.html mailing list third party advisory vendor advisory
https://security.gentoo.org/glsa/202104-05 third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2020-15707?
CVE-2020-15707 has been scored as a medium severity vulnerability.
How to fix CVE-2020-15707?
To fix CVE-2020-15707, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-15707 being actively exploited in the wild?
It is possible that CVE-2020-15707 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2020-15707?
CVE-2020-15707 affects Ubuntu grub2 in Ubuntu.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.