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
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2021-38575

CVE-2021-38575: Tianocore EDK2 Buffer Overflow Vulnerability

CVE-2021-38575 is a remotely exploitable buffer overflow in Tianocore EDK2's NetworkPkg/IScsiDxe component that enables attackers to compromise system integrity. This article covers technical details, affected versions, and mitigations.

Published: March 4, 2026

CVE-2021-38575 Overview

CVE-2021-38575 is a critical buffer overflow vulnerability discovered in the NetworkPkg/IScsiDxe component of the TianoCore EDK2 UEFI firmware implementation. This BIOS/UEFI vulnerability affects the iSCSI driver used during network-based boot operations and can be exploited remotely without authentication.

The vulnerability exists in the iSCSI driver's handling of network data during boot operations. Attackers on the same network segment can send specially crafted iSCSI packets to exploit buffer overflows in the affected driver, potentially achieving code execution at the firmware level before the operating system loads.

Critical Impact

Remote attackers can exploit buffer overflows in UEFI firmware's iSCSI driver to execute arbitrary code at the firmware level, potentially establishing persistent malware that survives OS reinstallation.

Affected Products

  • TianoCore EDK2 (all affected versions)
  • Insyde Kernel 5.0
  • Insyde Kernel 5.1
  • Insyde Kernel 5.2
  • Insyde Kernel 5.3
  • Insyde Kernel 5.4
  • Insyde Kernel 5.5

Discovery Timeline

  • 2021-12-01 - CVE-2021-38575 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2021-38575

Vulnerability Analysis

This vulnerability represents a severe firmware-level security flaw affecting the iSCSI boot functionality in UEFI implementations based on TianoCore EDK2. The buffer overflow vulnerabilities (classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, and CWE-124: Buffer Underwrite) occur in the IScsiDxe driver component within the NetworkPkg module.

The attack requires network access and targets systems configured for iSCSI boot or that have the iSCSI DXE driver loaded. While the attack complexity is high due to the specific conditions required for exploitation, successful exploitation requires no privileges or user interaction, making it particularly dangerous in enterprise environments that leverage network boot infrastructure.

Root Cause

The root cause of CVE-2021-38575 lies in improper bounds checking within the IScsiDxe driver when processing iSCSI protocol data. The driver fails to adequately validate the length of incoming data before copying it into fixed-size buffers, creating classic buffer overflow conditions. Additionally, the presence of CWE-124 (Buffer Underwrite) indicates that certain operations may write data before the beginning of the intended buffer, corrupting adjacent memory structures.

These vulnerabilities are particularly concerning because they exist at the firmware level, below the operating system. Code executing in this pre-boot environment operates with the highest system privileges and can modify critical system configurations, including Secure Boot settings.

Attack Vector

The attack vector for CVE-2021-38575 is network-based, targeting systems during the UEFI boot phase when the iSCSI driver processes network traffic. An attacker positioned on the same network segment as the target system can send malicious iSCSI responses during the boot process.

The exploitation scenario typically involves:

  1. Identifying target systems configured for iSCSI boot or with the iSCSI driver active
  2. Intercepting or spoofing iSCSI traffic during the boot sequence
  3. Sending crafted packets containing oversized or malformed data to trigger buffer overflow conditions
  4. Achieving code execution in the DXE (Driver Execution Environment) phase of UEFI boot

Successful exploitation can result in firmware-level code execution, enabling attackers to install persistent implants that survive operating system reinstallation, bypass Secure Boot protections, or completely compromise the system's boot process.

Detection Methods for CVE-2021-38575

Indicators of Compromise

  • Unexpected modifications to UEFI firmware variables or configuration
  • Anomalous network traffic to/from systems during boot operations, particularly on iSCSI ports (TCP 3260)
  • Secure Boot integrity failures or unexpected boot behavior
  • Evidence of firmware updates or modifications not sanctioned by administrators

Detection Strategies

  • Monitor network traffic for malformed or anomalous iSCSI protocol packets targeting boot infrastructure
  • Implement UEFI firmware integrity verification using hardware-based attestation mechanisms (TPM measurements)
  • Deploy network intrusion detection signatures targeting iSCSI protocol anomalies
  • Conduct regular firmware version audits to identify systems running vulnerable EDK2-based implementations

Monitoring Recommendations

  • Enable logging on iSCSI target servers to detect unusual connection attempts or malformed requests
  • Implement network segmentation to isolate boot infrastructure from general network traffic
  • Use SentinelOne Singularity Platform to monitor for post-exploitation indicators at the OS level
  • Configure alerts for unexpected firmware update events or UEFI variable modifications

How to Mitigate CVE-2021-38575

Immediate Actions Required

  • Identify all systems using iSCSI boot or TianoCore EDK2-based firmware and prioritize patching
  • Disable iSCSI boot functionality on systems where it is not required
  • Implement network segmentation to restrict access to boot infrastructure
  • Apply vendor-supplied firmware updates from system manufacturers

Patch Information

TianoCore has addressed this vulnerability and released fixes tracked in TianoCore Bug Report #3356. System manufacturers using EDK2 have released updated firmware incorporating these fixes. Insyde has published Security Advisory SA-2023025 with specific guidance for affected Insyde Kernel versions 5.0 through 5.5.

Organizations should contact their system vendors for firmware updates applicable to their specific hardware. Debian users can reference the Debian LTS Announcement for package updates.

Workarounds

  • Disable iSCSI boot functionality in UEFI settings where not required for business operations
  • Implement strict network access controls to prevent unauthorized systems from communicating with boot infrastructure
  • Use dedicated, isolated network segments (VLANs) for iSCSI boot traffic
  • Enable Secure Boot and ensure firmware integrity measurements are configured with TPM
bash
# Example: Verify current firmware version on Linux systems
sudo dmidecode -t bios

# Check for UEFI Secure Boot status
mokutil --sb-state

# Review iSCSI configuration (disable if not needed)
iscsiadm -m session

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechTianocore

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.64%

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

  • CWE-119
  • Technical References
  • Insyde Security Advisory SA-2023025

  • Debian LTS Announcement June 2025
  • Vendor Resources
  • TianoCore Bug Report #3356
  • Related CVEs
  • CVE-2023-45235: Tianocore EDK2 Buffer Overflow Vulnerability

  • CVE-2023-45234: Tianocore EDK2 Buffer Overflow Vulnerability

  • CVE-2023-45230: Tianocore EDK2 Buffer Overflow Vulnerability

  • CVE-2022-36763: Tianocore EDK2 Buffer Overflow Vulnerability
Default Legacy - Prefooter | 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