Skip to main content
← All vulnerabilities
CVE-2020-15707

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.04-1ubuntu26.1, 2.02-2ubuntu8.16, 2.02~beta2-36ubuntu3.26, 2.02~beta2-9ubuntu1.20
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Ubuntu grub2 in Ubuntu

    From 20.04 LTS · fixed in 2.04-1ubuntu26.1; From 18.04 LTS · fixed in 2.02-2ubuntu8.16; From 16.04 LTS · fixed in 2.02~beta2-36ubuntu3.26; From 14.04 ESM · fixed in 2.02~beta2-9ubuntu1.20

References 17

eclypsium.com

wiki.ubuntu.com

ubuntu.com

debian.org

portal.msrc.microsoft.com

access.redhat.com

suse.com

openwall.com

lists.gnu.org

security.netapp.com

usn.ubuntu.com

lists.opensuse.org

security.gentoo.org