CVE-2023-40547

Shim: rce in http boot support may lead to secure boot bypass

Published Jan 25, 2024 CVSS 3.1 · 8.3 High EPSS 5.4% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

Vendor Workaround

If a system isn’t required to boot from the network, configure the server’s boot order to disable entirely or skip the network boot.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3813-1 shim security update
EUVD EUVD EUVD-2023-45118 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Jun 26, 2026, 9:43 AM
Reserved
Aug 15, 2023, 8:04 PM
Status
Modified
Published
Jan 25, 2024, 4:15 PM
Modified
Jun 26, 2026, 10:16 AM
Severity
Important
Public date
Jan 23, 2024, 12:00 AM