Integer overflow in Gnu Grub2

CVE-2020-15707

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.

Vulnerability class: Race Condition

EPSS: 0.016 (73.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-15707?
CVE-2020-15707 is a medium-severity vulnerability in Gnu Grub2, classified under Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition). CVSS score: 5.7/10. Published 2020-07-29.
How severe is CVE-2020-15707?
Medium severity. CVSS v3 base score is 5.7 out of 10.
Is CVE-2020-15707 known to be exploited?
12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.