Advisory

UBUNTU-CVE-2023-40548

Also known as: CVE-2023-40548

Summary

The record has no summary.

Details

A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.

Severity

High Basis: CVSS v3 score 7.4, vector CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/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