Skip to content
5.7 Medium

CVE-2020-15707 Integer overflows were discovered in the functions grub_cmd_initrd and grub_initrd_init in the efilinux component of…

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.

Affected products and versions

Product Affected versions Fixed in
grub2 in Ubuntu 2.04 earliest → < 2.04-1ubuntu26.1 2.04-1ubuntu26.1
grub2 in Ubuntu 2.02 earliest → < 2.02-2ubuntu8.16 2.02-2ubuntu8.16

References

Timeline

  1. Published
  2. Last modified
The 3 CVEs of grub2 in Ubuntu →
Track this CVE