Integer Overflow or Wraparound Affecting shim-x64 package, versions <0:15-14.el8_2


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux 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-RHEL8-SHIMX64-3777511
  • 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 RHEL:8 shim-x64 to version 0:15-14.el8_2 or higher.
This issue was patched in RHSA-2020:3216.

NVD Description

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