The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-40547

CVE-2023-40547: Red Hat Shim RCE Vulnerability

CVE-2023-40547 is a remote code execution vulnerability in Red Hat Shim that enables attackers to execute arbitrary code during boot via malicious HTTP responses. This article covers technical details, impact, and mitigation.

Published: February 11, 2026

CVE-2023-40547 Overview

A remote code execution vulnerability was discovered in Shim, the UEFI bootloader used by many Linux distributions to enable Secure Boot support. The Shim boot support trusts attacker-controlled values when parsing an HTTP response, allowing a completely controlled out-of-bounds write primitive that can lead to complete system compromise. This vulnerability is particularly dangerous as it operates during the early boot phase, before the operating system's security controls are active.

Critical Impact

This vulnerability enables attackers to achieve complete system compromise by exploiting a flaw in HTTP response parsing during the Secure Boot process. An attacker with adjacent network access who can perform a Man-in-the-Middle attack or compromise the boot server can execute arbitrary code before the operating system loads, effectively bypassing all OS-level security protections.

Affected Products

  • Red Hat Shim (all affected versions)
  • Red Hat Enterprise Linux 7.0
  • Red Hat Enterprise Linux 8.0
  • Red Hat Enterprise Linux 9.0

Discovery Timeline

  • 2024-01-25 - CVE-2023-40547 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-40547

Vulnerability Analysis

This vulnerability stems from improper input validation in Shim's HTTP boot functionality (CWE-787: Out-of-Bounds Write, CWE-346: Origin Validation Error). When Shim processes HTTP responses during network boot operations, it fails to properly validate attacker-controlled values embedded in the response data. This oversight creates a completely controlled out-of-bounds write primitive.

The attack requires adjacent network access, meaning the attacker must be on the same network segment as the target system. The exploitation complexity is high because the attacker must either perform a Man-in-the-Middle attack on the HTTP boot traffic or compromise the boot server itself. However, successful exploitation requires no privileges or user interaction, and the impact crosses security boundaries affecting confidentiality, integrity, and availability at the highest level.

Root Cause

The root cause of CVE-2023-40547 lies in Shim's implicit trust of values received in HTTP responses during the boot process. The HTTP response parsing code does not adequately validate size fields and buffer boundaries before using attacker-supplied data in memory operations. This lack of proper bounds checking allows an attacker to specify malicious values that cause writes beyond the intended buffer boundaries, creating an out-of-bounds write condition. Because this occurs during the early boot phase before operating system security mechanisms are active, the attacker gains complete control over the boot process.

Attack Vector

The attack vector requires adjacent network positioning (such as the same local network or VLAN) and follows this exploitation path:

  1. Positioning: The attacker gains a position on the same network segment as a target system configured for HTTP boot
  2. Interception: The attacker either performs a Man-in-the-Middle attack on the HTTP boot traffic or compromises the legitimate boot server
  3. Malicious Response Crafting: The attacker crafts a malicious HTTP response containing specially designed values that trigger the out-of-bounds write
  4. Memory Corruption: When the target system boots and Shim processes the malicious HTTP response, the controlled out-of-bounds write corrupts memory in a way that allows code execution
  5. Complete Compromise: The attacker achieves arbitrary code execution during the pre-boot phase, gaining complete control of the system before any operating system security protections are loaded

This early-boot exploitation is particularly severe because it can be used to install persistent bootkits, bypass Secure Boot protections, and establish footholds that survive operating system reinstallation.

Detection Methods for CVE-2023-40547

Indicators of Compromise

  • Unexpected changes to Shim bootloader binary or configuration files
  • Anomalous HTTP traffic patterns during system boot sequences
  • Unauthorized modifications to UEFI boot variables or boot order
  • Network traffic containing malformed HTTP responses targeting boot services
  • Evidence of Man-in-the-Middle attacks on local network segments where HTTP boot is used

Detection Strategies

  • Monitor network traffic for suspicious HTTP responses to systems during boot operations, particularly responses with unusual size fields or malformed headers
  • Implement Secure Boot attestation monitoring to detect unauthorized changes to the boot chain
  • Deploy network intrusion detection signatures for anomalous HTTP boot traffic patterns
  • Use endpoint detection solutions capable of monitoring UEFI/pre-boot integrity

Monitoring Recommendations

  • Enable logging for DHCP and boot server communications on network infrastructure
  • Implement boot integrity measurement and attestation using TPM where available
  • Monitor for ARP spoofing or other Man-in-the-Middle indicators on network segments with HTTP boot-enabled systems
  • Regularly audit Shim versions across enterprise systems and correlate with vulnerability status

How to Mitigate CVE-2023-40547

Immediate Actions Required

  • Update Shim to the patched version provided by your Linux distribution vendor immediately
  • Review and restrict network access to systems that use HTTP boot functionality
  • Consider disabling HTTP boot on systems where it is not required
  • Implement network segmentation to isolate boot infrastructure from general network traffic
  • Monitor for Man-in-the-Middle attack indicators on network segments with boot servers

Patch Information

Red Hat has released multiple security advisories addressing this vulnerability. Organizations should apply the appropriate patches based on their specific Red Hat Enterprise Linux version:

  • Red Hat Security Advisory RHSA-2024:1834
  • Red Hat Security Advisory RHSA-2024:1835
  • Red Hat Security Advisory RHSA-2024:1873
  • Red Hat Security Advisory RHSA-2024:1876
  • Red Hat Security Advisory RHSA-2024:1883
  • Red Hat Security Advisory RHSA-2024:1902
  • Red Hat Security Advisory RHSA-2024:1903
  • Red Hat Security Advisory RHSA-2024:1959
  • Red Hat Security Advisory RHSA-2024:2086

Debian users should refer to the Debian LTS Announcement from May 2024 for applicable patches.

For detailed vulnerability information, see the Red Hat CVE-2023-40547 Details page and Red Hat Bugzilla Report #2234589.

Workarounds

  • Disable HTTP boot in UEFI/BIOS settings if network boot functionality is not required for the system
  • Switch to HTTPS boot where supported to provide encryption and integrity protection for boot traffic
  • Implement network-level controls such as 802.1X authentication and DHCP snooping to prevent unauthorized boot server impersonation
  • Use boot server infrastructure on isolated, dedicated network segments with strict access controls
  • Enable Secure Boot with properly enrolled keys and monitor for boot integrity violations
bash
# Check current Shim version on Red Hat-based systems
rpm -q shim-x64

# Verify Secure Boot status
mokutil --sb-state

# Update Shim package on Red Hat Enterprise Linux
sudo dnf update shim-x64

# Disable HTTP boot in efibootmgr (if applicable)
# Note: UEFI settings may need to be changed in BIOS
efibootmgr -v | grep -i http

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRedhat

  • SeverityHIGH

  • CVSS Score8.3

  • EPSS Probability4.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787

  • CWE-346
  • Technical References
  • Red Hat Security Advisory RHSA-2024:1834

  • Red Hat Security Advisory RHSA-2024:1835

  • Red Hat Security Advisory RHSA-2024:1873

  • Red Hat Security Advisory RHSA-2024:1876

  • Red Hat Security Advisory RHSA-2024:1883

  • Red Hat Security Advisory RHSA-2024:1902

  • Red Hat Security Advisory RHSA-2024:1903

  • Red Hat Security Advisory RHSA-2024:1959

  • Red Hat Security Advisory RHSA-2024:2086

  • OpenWall OSS-Security Discussion

  • Debian LTS Announcement May 2024
  • Vendor Resources
  • Red Hat CVE-2023-40547 Details

  • Red Hat Bugzilla Report #2234589
  • Related CVEs
  • CVE-2025-9784: Apache Camel Spring Boot DoS Vulnerability

  • CVE-2025-5318: OpenShift Information Disclosure Bug

  • CVE-2022-0996: 389 Directory Server Auth Bypass Flaw

  • CVE-2022-3787: Red Hat Device-mapper-multipath Escalation
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English