Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI 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-22045

CVE-2021-22045: VMware Cloud Foundation RCE Vulnerability

CVE-2021-22045 is a heap-overflow remote code execution vulnerability in VMware Cloud Foundation affecting ESXi, Workstation, and Fusion. Attackers with VM access can exploit this flaw to execute code on the hypervisor.

Published: March 4, 2026

CVE-2021-22045 Overview

CVE-2021-22045 is a heap-overflow vulnerability affecting the CD-ROM device emulation component in VMware ESXi, VMware Workstation, and VMware Fusion virtualization products. A malicious actor with access to a virtual machine that has CD-ROM device emulation enabled may be able to exploit this vulnerability in conjunction with other issues to achieve code execution on the hypervisor from within a virtual machine, enabling a virtual machine escape attack.

Critical Impact

Successful exploitation could allow an attacker to escape from a guest virtual machine and execute arbitrary code on the host hypervisor, potentially compromising the entire virtualization infrastructure and all hosted virtual machines.

Affected Products

  • VMware ESXi 7.0 (all versions)
  • VMware ESXi 6.7 (versions before ESXi670-202111101-SG)
  • VMware ESXi 6.5 (versions before ESXi650-202110101-SG)
  • VMware Workstation 16.2.0
  • VMware Fusion 12.2.0
  • VMware Cloud Foundation (versions 3.x and 4.x)

Discovery Timeline

  • 2022-01-04 - CVE-2021-22045 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-22045

Vulnerability Analysis

This vulnerability exists in the CD-ROM device emulation subsystem of VMware's virtualization products. The heap-overflow condition occurs when processing certain CD-ROM device operations within a guest virtual machine. The vulnerability is particularly significant because it affects the hypervisor's device emulation layer, which runs with elevated privileges on the host system.

The attack requires local access to a virtual machine and low privileges within the guest operating system. While the attack complexity is considered high due to the need to chain this vulnerability with other issues for successful exploitation, the potential impact is severe. Successful exploitation could result in complete compromise of confidentiality, integrity, and availability of the host system and all co-located virtual machines.

VM escape vulnerabilities like this one are highly prized in virtualized environments because they break the fundamental security boundary between guest and host systems, potentially exposing multiple tenants in cloud or enterprise virtualization deployments.

Root Cause

The root cause is an out-of-bounds write vulnerability (CWE-787) in the CD-ROM device emulation code. The heap-overflow occurs due to improper bounds checking when handling specific CD-ROM device requests, allowing memory corruption in the hypervisor's address space. This type of memory corruption vulnerability can be leveraged to overwrite critical data structures and redirect code execution.

Attack Vector

The attack vector requires local access to a guest virtual machine with CD-ROM device emulation enabled. An attacker must:

  1. Gain access to a virtual machine running on a vulnerable hypervisor
  2. Ensure the VM has a virtual CD-ROM device configured
  3. Craft malicious CD-ROM device requests that trigger the heap-overflow condition
  4. Chain this vulnerability with additional techniques to achieve reliable code execution on the hypervisor

The local attack vector and high complexity requirements reduce the immediate risk, but the potential for VM escape makes this a significant concern for virtualized infrastructure.

Detection Methods for CVE-2021-22045

Indicators of Compromise

  • Unexpected crashes or instability in VMware hypervisor services related to CD-ROM device handling
  • Unusual memory access patterns or heap corruption signatures in VMware process memory
  • Anomalous CD-ROM device activity from guest virtual machines that don't have legitimate CD-ROM access requirements
  • Evidence of post-exploitation activity on ESXi hosts originating from guest VM contexts

Detection Strategies

  • Monitor VMware ESXi host logs for abnormal CDROM device operations or unexpected service crashes
  • Implement behavioral analysis on hypervisor systems to detect unusual device emulation activity
  • Deploy endpoint detection and response (EDR) solutions capable of monitoring virtualization layer activity
  • Review vCenter and ESXi audit logs for signs of unauthorized access or configuration changes

Monitoring Recommendations

  • Enable verbose logging for VMware services and forward logs to a centralized SIEM for correlation
  • Monitor for unusual patterns of VM-to-host communication that could indicate exploitation attempts
  • Implement network segmentation to limit lateral movement if a VM escape occurs
  • Regularly audit which VMs have CD-ROM devices attached and remove unnecessary virtual hardware

How to Mitigate CVE-2021-22045

Immediate Actions Required

  • Apply the appropriate security patches from VMware immediately for all affected products
  • Remove or disconnect virtual CD-ROM devices from VMs where they are not required
  • Review and restrict which users and processes have access to virtual machine configurations
  • Implement additional monitoring on hypervisor hosts to detect potential exploitation attempts

Patch Information

VMware has released security patches addressing this vulnerability. Organizations should apply the following updates:

  • ESXi 6.5: Update to ESXi650-202110101-SG or later
  • ESXi 6.7: Update to ESXi670-202111101-SG or later
  • ESXi 7.0: Apply the latest security patches from VMware
  • Workstation: Update to a patched version beyond 16.2.0
  • Fusion: Update to a patched version beyond 12.2.0
  • Cloud Foundation: Apply the relevant VMware Cloud Foundation updates

Refer to VMware Security Advisory VMSA-2022-0001 for complete patch details and download links.

Workarounds

  • Remove CD-ROM devices from virtual machine configurations where they are not operationally required using vSphere Client or esxcli
  • Disable virtual CD-ROM device access at the VM policy level to reduce the attack surface
  • Implement strict access controls to limit which administrators can modify VM hardware configurations
  • Consider using ISO images mounted via datastore rather than emulated CD-ROM devices where possible
bash
# Remove CD-ROM device from a VM using esxcli (example)
# First, power off the VM and note the VM ID

# List VMs to get the VM ID
vim-cmd vmsvc/getallvms

# Check current VM hardware configuration
vim-cmd vmsvc/device.getdevices <vmid>

# Edit the VMX file to remove CD-ROM device entries
# Backup the VMX file first, then remove cdrom device lines

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechVmware

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability2.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • Packet Storm Advisory 2022-0001

  • Zero Day Initiative Advisory ZDI-22-003
  • Vendor Resources
  • VMware Security Advisory VMSA-2022-0001
  • Related CVEs
  • CVE-2026-22719: VMware Aria Operations RCE Vulnerability

  • CVE-2024-38812: VMware Cloud Foundation RCE Vulnerability

  • CVE-2021-21972: VMware Cloud Foundation RCE Vulnerability

  • CVE-2021-22005: VMware Cloud Foundation RCE 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