Advisory

USN-6355-1

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

Summary

grub2-signed, grub2-unsigned, shim, and shim-signed vulnerability

Details

Daniel Axtens discovered that specially crafted images could cause a
heap-based out-of-bonds write. A local attacker could possibly use
this to circumvent secure boot protections. (CVE-2021-3695)

Daniel Axtens discovered that specially crafted images could cause
out-of-bonds read and write. A local attacker could possibly use this
to circumvent secure boot protections. (CVE-2021-3696)

Daniel Axtens discovered that specially crafted images could cause
buffer underwrite which allows arbitrary data to be written to a heap.
A local attacker could possibly use this to circumvent secure
boot protections. (CVE-2021-3697)

It was discovered that GRUB2 configuration files were created with
the wrong permissions. An attacker could possibly use this to leak
encrypted passwords. (CVE-2021-3981)

Daniel Axtens discovered that specially crafted IP packets could cause
an integer underflow and write past the end of a buffer. An attacker
could possibly use this to circumvent secure boot protections.
(CVE-2022-28733)

Daniel Axtens discovered that specially crafted HTTP headers can cause
an out-of-bounds write of a NULL byte. An attacker could possibly use
this to corrupt GRUB2's internal data. (CVE-2022-28734)

Julian Andres Klode discovered that GRUB2 shim_lock allowed non-
kernel files to be loaded. A local attack could possibly use this to
circumvent secure boot protections. (CVE-2022-28735)

Chris Coulson discovered that executing chainloaders more than once
caused a use-after-free vulnerability. A local attack could possibly
use this to circumvent secure boot protections. (CVE-2022-28736)

Chris Coulson discovered that specially crafted executables could
cause shim to make out-of-bound writes. A local attack could possibly
use this to circumvent secure boot protections. (CVE-2022-28737)

Zhang Boyang discovered that specially crafted unicode sequences
could lead to an out-of-bounds write to a heap. A local attacker could
possibly use this to circumvent secure boot protections.
(CVE-2022-3775)

Severity

Not rated by the source.

Dates

Published
2023-09-08 21:56 UTC
Modified
2026-05-29 18:00 UTC

Affected packages and fixes

grub2-signed

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.187.3~20.04.1 (ecosystem)

Fixed versions

1.187.3~20.04.1

Fix

  • Fixed version 1.187.3~20.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

grub2-unsigned

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2.06-2ubuntu14.1 (ecosystem)

Fixed versions

2.06-2ubuntu14.1

Fix

  • Fixed version 2.06-2ubuntu14.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

shim

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 15.7-0ubuntu1 (ecosystem)

Fixed versions

15.7-0ubuntu1

Fix

  • Fixed version 15.7-0ubuntu1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

shim-signed

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.40.9 (ecosystem)

Fixed versions

1.40.9

Fix

  • Fixed version 1.40.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

grub2-signed

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.187.3~22.04.1 (ecosystem)

Fixed versions

1.187.3~22.04.1

Fix

  • Fixed version 1.187.3~22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

grub2-unsigned

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.06-2ubuntu14.1 (ecosystem)

Fixed versions

2.06-2ubuntu14.1

Fix

  • Fixed version 2.06-2ubuntu14.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

shim

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 15.7-0ubuntu1 (ecosystem)

Fixed versions

15.7-0ubuntu1

Fix

  • Fixed version 15.7-0ubuntu1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

shim-signed

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.51.3 (ecosystem)

Fixed versions

1.51.3

Fix

  • Fixed version 1.51.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences