PT-2023-8436 · Shim+7 · Shim+7

Marco Benatto

·

Published

2023-08-26

·

Updated

2025-03-07

·

CVE-2023-40547

CVSS v3.1

9.0

Critical

VectorAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Shim versions prior to 15.8
Description A remote code execution vulnerability was found in Shim, a core component of secure boot in Linux. The vulnerability 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, and an attacker needs to perform a Man-in-the-Middle or compromise the boot server to be able to exploit this vulnerability successfully. The estimated number of potentially affected devices worldwide is in the millions.
Recommendations Update to Shim version 15.8 or later to address the vulnerability. As a temporary workaround, consider restricting access to the HTTP boot support feature in Shim until a patch is available. Avoid using Shim with Secure Boot enabled until the issue is resolved. Update the UEFI Secure Boot DBX to include hashes of the vulnerable Shim software and sign the updated version with a valid key.

Exploit

Fix

RCE

Origin Validation Error

Memory Corruption

Special Elements Injection

Weakness Enumeration

Related Identifiers

ALSA-2024:1902
ALSA-2024:1903
ALT-PU-2024-1671
ALT-PU-2024-1869
ALT-PU-2024-1877
ALT-PU-2024-4050
AZL-33895
AZL-34030
AZL-35254
AZL-35267
AZL-35278
BDU:2024-00725
CESA-2024_1902
CVE-2023-40547
DLA-3813-1
OESA-2024-1115
OESA-2024-1116
OESA-2024-1117
OESA-2024-1118
OESA-2024-1119
OESA-2024-1120
OPENSUSE-SU-2024_1368-1
RHSA-2024:1834
RHSA-2024:1835
RHSA-2024:1873
RHSA-2024:1876
RHSA-2024:1883
RHSA-2024:1902
RHSA-2024:1903
RHSA-2024:1959
RHSA-2024:2086
RHSA-2024_1902
RHSA-2024_1903
RHSA-2024_1959
ROSA-SA-2024-2353
ROSA-SA-2024-2354
ROSA-SA-2024-2383
ROSA-SA-2024-2384
ROSA-SA-2024-2385
SUSE-SU-2024:1368-1
SUSE-SU-2024:1461-1
SUSE-SU-2024:1462-1
SUSE-SU-2025:20136-1

Affected Products

Alt Linux
Almalinux
Centos
Red Hat
Red Os
Shim
Suse
Windows