Advisory

UBUNTU-CVE-2023-40547

Also known as: CVE-2023-40547

Summary

The record has no summary.

Details

A remote code execution vulnerability was found in Shim. The Shim boot support trusts attacker-controlled values when parsing an HTTP response. This flaw allows an attacker to craft a specific malicious HTTP request, leading to a completely controlled out-of-bounds write primitive and complete system compromise. This flaw is only exploitable during the early boot phase, an attacker needs to perform a Man-in-the-Middle or compromise the boot server to be able to exploit this vulnerability successfully.

Severity

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

Dates

Published
2024-01-23 00:00 UTC
Modified
2025-11-21 05:21 UTC

Affected packages and fixes

12 affected packages
PackageSystemAffectedFix
shimDebian packages (deb) · Ubuntu 14.04introduced 0No fixed version is listed.
shim-signedDebian packages (deb) · Ubuntu 14.04introduced 0No fixed version is listed.
shimDebian packages (deb) · Ubuntu 16.04introduced 0No fixed version is listed.
shim-signedDebian packages (deb) · Ubuntu 16.04introduced 0No fixed version is listed.
shimDebian packages (deb) · Ubuntu 18.04introduced 0No fixed version is listed.
shim-signedDebian packages (deb) · Ubuntu 18.04introduced 0No fixed version is listed.
shimDebian packages (deb) · Ubuntu 20.04Earlier versionssudo apt-get update && sudo apt-get upgrade
shim-signedDebian packages (deb) · Ubuntu 20.04Earlier versionssudo apt-get update && sudo apt-get upgrade
shimDebian packages (deb) · Ubuntu 22.04Earlier versionssudo apt-get update && sudo apt-get upgrade
shim-signedDebian packages (deb) · Ubuntu 22.04Earlier versionssudo apt-get update && sudo apt-get upgrade
shimDebian packages (deb) · Ubuntu 24.04Earlier versionssudo apt-get update && sudo apt-get upgrade
shim-signedDebian packages (deb) · Ubuntu 24.04Earlier versionssudo apt-get update && sudo apt-get upgrade

Some commands upgrade 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