Integer Overflow or Wraparound Affecting grub2-tools-minimal package, versions <1:2.02-0.86.el7_8


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.14% (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-CENTOS7-GRUB2TOOLSMINIMAL-2167695
  • 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:7 grub2-tools-minimal to version 1:2.02-0.86.el7_8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-tools-minimal package and not the grub2-tools-minimal package as distributed by Centos. See How to fix? for Centos:7 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