Integer Overflow or Wraparound Affecting grub2-common package, versions <1:2.02-87.el8_2


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.13% (50th 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-CENTOS8-GRUB2COMMON-2044745
  • published26 Jul 2021
  • disclosed29 Jul 2020

Introduced: 29 Jul 2020

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

How to fix?

Upgrade Centos:8 grub2-common to version 1:2.02-87.el8_2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-common package and not the grub2-common package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1