Issued:
2020-07-29
Updated:
2020-07-29

RHSA-2020:3217 - Moderate: grub2 security and bug fix update


Synopsis

Moderate: grub2 security and bug fix update

Type/Severity

Security Advisory Moderate

Topic

An update for grub2, shim, shim-signed, and fwupdate is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

[Updated 3 August 2020]

The shim and shim-signed packages distributed with this erratum have a known bug that can cause the boot process to hang on some systems. To prevent boot problems, customers are strongly recommended not to use the shim packages released with this erratum, and instead to apply the newer packages within RHBA-2020:3265, that were released on 1 August 2020 to address this issue.

Description

The grub2 packages provide version 2 of the Grand Unified Boot Loader (GRUB), a highly configurable and customizable boot loader with modular architecture. The packages support a variety of kernel formats, file systems, computer architectures, and hardware devices.

The shim package contains a first-stage UEFI boot loader that handles chaining to a trusted full boot loader under secure boot environments.

The fwupdate packages provide a service that allows session software to update device firmware.

Security Fix(es):

  • grub2: Crafted grub.cfg file can lead to arbitrary code execution during boot process (CVE-2020-10713)

  • grub2: grub_malloc does not validate allocation size allowing for arithmetic overflow and subsequent heap-based buffer overflow (CVE-2020-14308)

  • grub2: Integer overflow in grub_squash_read_symlink may lead to heap-based buffer overflow (CVE-2020-14309)

  • grub2: Integer overflow read_section_as_string may lead to heap-based buffer overflow (CVE-2020-14310)

  • grub2: Integer overflow in grub_ext2_read_link leads to heap-based buffer overflow (CVE-2020-14311)

  • grub2: Fail kernel validation without shim protocol (CVE-2020-15705)

  • grub2: Use-after-free redefining a function whilst the same function is already executing (CVE-2020-15706)

  • grub2: Integer overflow in initrd size handling (CVE-2020-15707)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Bug Fix(es):

  • grub2 doesn't handle relative paths correctly for UEFI HTTP Boot (BZ#1616395)

  • UEFI HTTP boot over IPv6 does not work (BZ#1732765)

Users of grub2 are advised to upgrade to these updated packages, which fix these bugs.

Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.

For details on how to apply this update, which includes the changes described in this advisory, refer to:

https://access.redhat.com/articles/11258

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing7x86_64
Red Hat Enterprise Linux for Power, little endian7ppc64le
Red Hat Enterprise Linux for Power, big endian7ppc64
Red Hat Enterprise Linux Workstation7x86_64
Red Hat Enterprise Linux Server7x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support7x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian7ppc64le
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian7ppc64
Red Hat Enterprise Linux Desktop7x86_64

Updated Packages

  • fwupdate-12-6.el7_8.src.rpm
  • grub2-common-2.02-0.86.el7_8.noarch.rpm
  • grub2-efi-ia32-modules-2.02-0.86.el7_8.noarch.rpm
  • grub2-ppc64-modules-2.02-0.86.el7_8.noarch.rpm
  • grub2-2.02-0.86.el7_8.x86_64.rpm
  • grub2-2.02-0.86.el7_8.ppc64le.rpm
  • grub2-tools-extra-2.02-0.86.el7_8.ppc64.rpm
  • grub2-efi-x64-modules-2.02-0.86.el7_8.noarch.rpm
  • shim-unsigned-ia32-15-7.el7_9.x86_64.rpm
  • fwupdate-libs-12-6.el7_8.x86_64.rpm
  • grub2-tools-2.02-0.86.el7_8.ppc64.rpm
  • grub2-efi-x64-cdboot-2.02-0.86.el7_8.x86_64.rpm
  • grub2-tools-extra-2.02-0.86.el7_8.ppc64le.rpm
  • grub2-efi-ia32-2.02-0.86.el7_8.x86_64.rpm
  • grub2-2.02-0.86.el7_8.src.rpm
  • grub2-tools-2.02-0.86.el7_8.x86_64.rpm
  • shim-ia32-15-7.el7_8.x86_64.rpm
  • shim-x64-15-7.el7_8.x86_64.rpm
  • grub2-tools-2.02-0.86.el7_8.ppc64le.rpm
  • grub2-tools-minimal-2.02-0.86.el7_8.x86_64.rpm
  • fwupdate-debuginfo-12-6.el7_8.x86_64.rpm
  • grub2-debuginfo-2.02-0.86.el7_8.ppc64.rpm
  • grub2-ppc-modules-2.02-0.86.el7_8.noarch.rpm
  • grub2-debuginfo-2.02-0.86.el7_8.x86_64.rpm
  • grub2-efi-ia32-cdboot-2.02-0.86.el7_8.x86_64.rpm
  • grub2-efi-x64-2.02-0.86.el7_8.x86_64.rpm
  • grub2-tools-minimal-2.02-0.86.el7_8.ppc64.rpm
  • mokutil-debuginfo-15-7.el7_8.x86_64.rpm
  • grub2-pc-modules-2.02-0.86.el7_8.noarch.rpm
  • grub2-ppc64le-modules-2.02-0.86.el7_8.noarch.rpm
  • grub2-efi-aa64-modules-2.02-0.86.el7_8.noarch.rpm
  • shim-15-7.el7_9.src.rpm
  • grub2-pc-2.02-0.86.el7_8.x86_64.rpm
  • grub2-ppc64le-2.02-0.86.el7_8.ppc64le.rpm
  • shim-unsigned-x64-15-7.el7_9.x86_64.rpm
  • grub2-2.02-0.86.el7_8.ppc64.rpm
  • grub2-tools-extra-2.02-0.86.el7_8.x86_64.rpm
  • fwupdate-12-6.el7_8.x86_64.rpm
  • grub2-tools-minimal-2.02-0.86.el7_8.ppc64le.rpm
  • grub2-debuginfo-2.02-0.86.el7_8.ppc64le.rpm
  • shim-signed-15-7.el7_8.src.rpm
  • grub2-ppc64-2.02-0.86.el7_8.ppc64.rpm
  • fwupdate-devel-12-6.el7_8.x86_64.rpm
  • fwupdate-efi-12-6.el7_8.x86_64.rpm
  • mokutil-15-7.el7_8.x86_64.rpm

Fixes

CVEs

References


Additional information