CVE-2020-15707
Summary
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.
Impact & exploitability
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011 ↗
Additional information
- NVD record
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/ADV200011Patch
- https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00016.htmlAdvisory
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00017.htmlAdvisory
- http://ubuntu.com/security/notices/USN-4432-1Advisory
- http://www.openwall.com/lists/oss-security/2020/07/29/3Advisory
- https://access.redhat.com/security/vulnerabilities/grub2bootloaderAdvisory
- https://security.gentoo.org/glsa/202104-05Advisory