GRUB2 contained integer overflows when handling the initrd command, leading to a heap-based buffer overflow.
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 2.02~beta2-9ubuntu1.20, 2.02~beta2-36ubuntu3.26, 2.02-2ubuntu8.16 and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Ubuntu | >=14.04 ESM <2.02~beta2-9ubuntu1.20, >=16.04 LTS <2.02~beta2-36ubuntu3.26, >=18.04 LTS <2.02-2ubuntu8.16, >=20.04 LTS <2.04-1ubuntu26.1 | 2.02~beta2-9ubuntu1.20, 2.02~beta2-36ubuntu3.26, 2.02-2ubuntu8.16, 2.04-1ubuntu26.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket