Race Condition Affecting grub2 package, versions [0,2.06)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GRUB2-2368571
  • published26 Jan 2022
  • disclosed29 Jul 2020
  • creditUnknown

Introduced: 29 Jul 2020

CVE-2020-15707  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade grub2 to version 2.06 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition. 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.

References

CVSS Scores

version 3.1