- Issued:
- 2022-06-16
- Updated:
- 2022-06-16
RHSA-2022:5099 - Important: grub2, mokutil, shim, and shim-unsigned-x64 security update
Synopsis
Important: grub2, mokutil, shim, and shim-unsigned-x64 security update
Type/Severity
Security Advisory Important
Topic
An update for grub2, mokutil, shim, and shim-unsigned-x64 is now available for Red Hat Enterprise Linux 9.
Red Hat Product Security has rated this update as having a security impact of Important. 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.
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.
Security Fix(es):
-
grub2: Integer underflow in grub_net_recv_ip4_packets (CVE-2022-28733)
-
grub2: Crafted PNG grayscale images may lead to out-of-bounds write in heap (CVE-2021-3695)
-
grub2: Crafted PNG image may lead to out-of-bound write during huffman table handling (CVE-2021-3696)
-
grub2: Crafted JPEG image can lead to buffer underflow write in the heap (CVE-2021-3697)
-
grub2: Out-of-bound write when handling split HTTP headers (CVE-2022-28734)
-
grub2: shim_lock verifier allows non-kernel files to be loaded (CVE-2022-28735)
-
grub2: use-after-free in grub_cmd_chainloader() (CVE-2022-28736)
-
shim: Buffer overflow when loading crafted EFI images (CVE-2022-28737)
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.
Solution
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
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for x86_64 | 9 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 9.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 9.4 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 9.2 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 9.0 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 9.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 9.4 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 9.2 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 9.0 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Life Cycle | 9.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Life Cycle | 9.4 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Life Cycle | 9.2 | x86_64 |
| Red Hat Enterprise Linux for Power, little endian | 9 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 9.6 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 9.4 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 9.2 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 9.0 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Life Cycle | 9.6 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Life Cycle | 9.4 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Life Cycle | 9.2 | ppc64le |
| Red Hat Enterprise Linux for ARM 64 | 9 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Update Support | 9.6 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Update Support | 9.4 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Update Support | 9.2 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Update Support | 9.0 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Life Cycle | 9.6 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Life Cycle | 9.4 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - Extended Life Cycle | 9.2 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - 4 years of updates | 9.6 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - 4 years of updates | 9.4 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - 4 years of updates | 9.2 | aarch64 |
| Red Hat Enterprise Linux for ARM 64 - 4 years of updates | 9.0 | aarch64 |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 9.6 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 9.4 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 9.2 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 9.0 | ppc64le |
| Red Hat Enterprise Linux Server - AUS | 9.6 | x86_64 |
| Red Hat Enterprise Linux Server - AUS | 9.4 | x86_64 |
| Red Hat Enterprise Linux Server - AUS | 9.2 | x86_64 |
| Red Hat CodeReady Linux Builder for x86_64 | 9 | x86_64 |
| Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support | 9.6 | x86_64 |
| Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support | 9.4 | x86_64 |
| Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support | 9.2 | x86_64 |
| Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support | 9.0 | x86_64 |
Updated Packages
- grub2-tools-efi-2.06-27.el9_0.7.x86_64.rpm
- mokutil-debuginfo-0.4.0-8.el9_0.1.aarch64.rpm
- grub2-tools-2.06-27.el9_0.7.x86_64.rpm
- mokutil-debugsource-0.4.0-8.el9_0.1.aarch64.rpm
- grub2-tools-2.06-27.el9_0.7.aarch64.rpm
- grub2-debuginfo-2.06-27.el9_0.7.x86_64.rpm
- grub2-debugsource-2.06-27.el9_0.7.x86_64.rpm
- grub2-tools-minimal-debuginfo-2.06-27.el9_0.7.x86_64.rpm
- grub2-ppc64le-2.06-27.el9_0.7.ppc64le.rpm
- shim-aa64-15.6-1.el9.aarch64.rpm
- grub2-ppc64le-modules-2.06-27.el9_0.7.noarch.rpm
- grub2-emu-debuginfo-2.06-27.el9_0.7.aarch64.rpm
- grub2-efi-aa64-2.06-27.el9_0.7.aarch64.rpm
- grub2-pc-2.06-27.el9_0.7.x86_64.rpm
- grub2-tools-2.06-27.el9_0.7.ppc64le.rpm
- grub2-emu-debuginfo-2.06-27.el9_0.7.x86_64.rpm
- grub2-tools-extra-debuginfo-2.06-27.el9_0.7.x86_64.rpm
- grub2-efi-aa64-cdboot-2.06-27.el9_0.7.aarch64.rpm
- grub2-tools-debuginfo-2.06-27.el9_0.7.ppc64le.rpm
- grub2-tools-extra-2.06-27.el9_0.7.ppc64le.rpm
- grub2-tools-minimal-2.06-27.el9_0.7.ppc64le.rpm
- grub2-efi-aa64-modules-2.06-27.el9_0.7.noarch.rpm
- grub2-efi-x64-cdboot-2.06-27.el9_0.7.x86_64.rpm
- grub2-debugsource-2.06-27.el9_0.7.ppc64le.rpm
- grub2-debugsource-2.06-27.el9_0.7.aarch64.rpm
- grub2-tools-extra-2.06-27.el9_0.7.x86_64.rpm
- grub2-tools-debuginfo-2.06-27.el9_0.7.x86_64.rpm
- grub2-common-2.06-27.el9_0.7.noarch.rpm
- grub2-tools-extra-debuginfo-2.06-27.el9_0.7.ppc64le.rpm
- grub2-tools-minimal-2.06-27.el9_0.7.aarch64.rpm
- grub2-2.06-27.el9_0.7.src.rpm
- grub2-tools-minimal-2.06-27.el9_0.7.x86_64.rpm
- grub2-tools-minimal-debuginfo-2.06-27.el9_0.7.aarch64.rpm
- grub2-tools-minimal-debuginfo-2.06-27.el9_0.7.ppc64le.rpm
- mokutil-0.4.0-8.el9_0.1.src.rpm
- grub2-efi-x64-modules-2.06-27.el9_0.7.noarch.rpm
- grub2-efi-x64-2.06-27.el9_0.7.x86_64.rpm
- grub2-debuginfo-2.06-27.el9_0.7.ppc64le.rpm
- grub2-tools-extra-2.06-27.el9_0.7.aarch64.rpm
- grub2-tools-extra-debuginfo-2.06-27.el9_0.7.aarch64.rpm
- mokutil-0.4.0-8.el9_0.1.aarch64.rpm
- mokutil-0.4.0-8.el9_0.1.x86_64.rpm
- mokutil-debuginfo-0.4.0-8.el9_0.1.x86_64.rpm
- shim-15.6-1.el9.src.rpm
- shim-unsigned-x64-15.6-1.el9.src.rpm
- shim-unsigned-x64-15.6-1.el9.x86_64.rpm
- shim-x64-15.6-1.el9.x86_64.rpm
- grub2-debuginfo-2.06-27.el9_0.7.aarch64.rpm
- grub2-tools-debuginfo-2.06-27.el9_0.7.aarch64.rpm
- grub2-tools-efi-debuginfo-2.06-27.el9_0.7.x86_64.rpm
- grub2-pc-modules-2.06-27.el9_0.7.noarch.rpm
- mokutil-debugsource-0.4.0-8.el9_0.1.x86_64.rpm
Fixes
- This content is not included.BZ - 1991685
- This content is not included.BZ - 1991686
- This content is not included.BZ - 1991687
- This content is not included.BZ - 2083339
- This content is not included.BZ - 2090463
- This content is not included.BZ - 2090857
- This content is not included.BZ - 2090899
- This content is not included.BZ - 2092613
CVEs
- CVE-2021-3695
- CVE-2021-3696
- CVE-2021-3697
- CVE-2022-28733
- CVE-2022-28734
- CVE-2022-28735
- CVE-2022-28736
- CVE-2022-28737
References
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.