Advisory

RLSA-2022:5095

Also known as: CVE-2021-3695, CVE-2021-3696, CVE-2021-3697, CVE-2022-28733, CVE-2022-28734, CVE-2022-28735, CVE-2022-28736, CVE-2022-28737

Summary

Important: grub2, mokutil, shim, and shim-unsigned-x64 security update

Details

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-06-16 13:10 UTC
Modified
2026-02-04 12:30 UTC

Affected packages and fixes

grub2

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 1:2.02-123.el8_6.8 (ecosystem)

Fixed versions

1:2.02-123.el8_6.8

Fix

  • Fixed version 1:2.02-123.el8_6.8
    sudo dnf upgrade grub2-1:2.02-123.el8_6.8

mokutil

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 1:0.3.0-11.el8_6.1 (ecosystem)

Fixed versions

1:0.3.0-11.el8_6.1

Fix

  • Fixed version 1:0.3.0-11.el8_6.1
    sudo dnf upgrade mokutil-1:0.3.0-11.el8_6.1

shim

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:15.6-1.el8 (ecosystem)

Fixed versions

0:15.6-1.el8

Fix

  • Fixed version 0:15.6-1.el8
    sudo dnf upgrade shim-0:15.6-1.el8

shim-unsigned-x64

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:15.6-1.el8 (ecosystem)

Fixed versions

0:15.6-1.el8

Fix

  • Fixed version 0:15.6-1.el8
    sudo dnf upgrade shim-unsigned-x64-0:15.6-1.el8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences