Advisory

ALSA-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

Not rated by the source.

Dates

Published
2022-06-16 00:00 UTC
Modified
2026-10-29 11:01 UTC

Affected packages and fixes

21 affected packages; all RPM packages (rpm) · AlmaLinux 8; affected: earlier versions
PackageFix
grub2-commonsudo dnf upgrade grub2-common-1:2.02-123.el8_6.8.alma
grub2-efi-aa64sudo dnf upgrade grub2-efi-aa64-1:2.02-123.el8_6.8.alma
grub2-efi-aa64-cdbootsudo dnf upgrade grub2-efi-aa64-cdboot-1:2.02-123.el8_6.8.alma
grub2-efi-aa64-modulessudo dnf upgrade grub2-efi-aa64-modules-1:2.02-123.el8_6.8.alma
grub2-efi-ia32sudo dnf upgrade grub2-efi-ia32-1:2.02-123.el8_6.8.alma
grub2-efi-ia32-cdbootsudo dnf upgrade grub2-efi-ia32-cdboot-1:2.02-123.el8_6.8.alma
grub2-efi-ia32-modulessudo dnf upgrade grub2-efi-ia32-modules-1:2.02-123.el8_6.8.alma
grub2-efi-x64sudo dnf upgrade grub2-efi-x64-1:2.02-123.el8_6.8.alma
grub2-efi-x64-cdbootsudo dnf upgrade grub2-efi-x64-cdboot-1:2.02-123.el8_6.8.alma
grub2-efi-x64-modulessudo dnf upgrade grub2-efi-x64-modules-1:2.02-123.el8_6.8.alma
grub2-pcsudo dnf upgrade grub2-pc-1:2.02-123.el8_6.8.alma
grub2-pc-modulessudo dnf upgrade grub2-pc-modules-1:2.02-123.el8_6.8.alma
grub2-ppc64le-modulessudo dnf upgrade grub2-ppc64le-modules-1:2.02-123.el8_6.8.alma
grub2-toolssudo dnf upgrade grub2-tools-1:2.02-123.el8_6.8.alma
grub2-tools-efisudo dnf upgrade grub2-tools-efi-1:2.02-123.el8_6.8.alma
grub2-tools-extrasudo dnf upgrade grub2-tools-extra-1:2.02-123.el8_6.8.alma
grub2-tools-minimalsudo dnf upgrade grub2-tools-minimal-1:2.02-123.el8_6.8.alma
shim-aa64sudo dnf upgrade shim-aa64-15.6-1.el8.alma
shim-ia32sudo dnf upgrade shim-ia32-15.6-1.el8.alma
shim-unsigned-x64sudo dnf upgrade shim-unsigned-x64-15.6-1.el8.alma
shim-x64sudo dnf upgrade shim-x64-15.6-1.el8.alma

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: AlmaLinux OSV database · MIT

Sources & licences