CVE-2023-40547
vulnerability analysis and mitigation

Overview

A remote code execution vulnerability (CVE-2023-40547) was discovered in Shim, a first-stage UEFI boot loader. The vulnerability was identified in the Shim boot support where it incorrectly trusts attacker-controlled values when parsing an HTTP response. This vulnerability was discovered by the MSRC Vulnerability & Mitigations (V&M) team and was disclosed on January 25, 2024 (NVD, Red Hat Bugzilla).

Technical details

The vulnerability exists in the http boot support (httpboot.c) component of Shim. When parsing HTTP responses, the system trusts attacker-controlled values, which can lead to a completely controlled out-of-bounds write primitive. The vulnerability has been assigned a CVSS v3.1 base score of 8.3 (HIGH) with the vector string CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H (NVD).

Impact

If successfully exploited, this vulnerability allows an attacker to craft a specific malicious HTTP request that can lead to complete system compromise. The impact is particularly severe as it could potentially bypass Secure Boot protections (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Shim version 15.8. Users are strongly advised to upgrade to this version. It's important to note that the new shim revokes ALL PREVIOUS VERSIONS of GRUB2, therefore GRUB2 must be updated to the latest version simultaneously with this shim update to maintain system bootability (Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management