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-2021-21974

CVE-2021-21974: VMware Cloud Foundation RCE Vulnerability

CVE-2021-21974 is a heap-overflow remote code execution vulnerability in VMware Cloud Foundation affecting ESXi. Attackers on the same network can exploit port 427 to execute arbitrary code. Learn about affected versions and mitigations.

Published: March 4, 2026

CVE-2021-21974 Overview

CVE-2021-21974 is a heap overflow vulnerability in the OpenSLP (Service Location Protocol) service as implemented in VMware ESXi hypervisor. This vulnerability allows a malicious actor residing within the same network segment as an ESXi host, with access to port 427, to trigger a heap overflow condition in the OpenSLP service, potentially resulting in remote code execution. The vulnerability affects multiple versions of VMware ESXi (7.0, 6.7, and 6.5) as well as VMware Cloud Foundation deployments that utilize these ESXi versions.

Critical Impact

Successful exploitation of this heap overflow vulnerability can lead to remote code execution on VMware ESXi hosts, potentially compromising the entire virtualization infrastructure and all hosted virtual machines.

Affected Products

  • VMware ESXi 7.0 (before ESXi70U1c-17325551)
  • VMware ESXi 6.7 (before ESXi670-202102401-SG)
  • VMware ESXi 6.5 (before ESXi650-202102101-SG)
  • VMware Cloud Foundation 4.x and 3.x

Discovery Timeline

  • February 24, 2021 - CVE-2021-21974 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-21974

Vulnerability Analysis

This heap overflow vulnerability exists in the OpenSLP service running on VMware ESXi hypervisors. The OpenSLP service, which operates on UDP and TCP port 427, is designed to allow networked devices to discover services on a local network. The vulnerability stems from improper bounds checking when processing SLP messages, allowing an attacker to overflow a heap-allocated buffer.

When a specially crafted SLP message is sent to the vulnerable service, the heap memory corruption can be leveraged to achieve arbitrary code execution. Since ESXi runs as the hypervisor layer controlling all virtual machines, successful exploitation grants the attacker complete control over the host and all virtualized workloads running on it.

The attack requires the attacker to be on the same network segment (adjacent network) as the target ESXi host, which limits the attack surface compared to vulnerabilities exploitable over the internet. However, in enterprise environments where ESXi management networks may be accessible from multiple locations, this still represents a significant risk.

Root Cause

The root cause of CVE-2021-21974 is a heap-based buffer overflow (CWE-787: Out-of-bounds Write) in the OpenSLP implementation used by VMware ESXi. The vulnerability occurs due to insufficient validation of the length fields in incoming SLP protocol messages. When the OpenSLP service processes a maliciously crafted message with an oversized length value, it writes data beyond the allocated heap buffer boundaries, corrupting adjacent memory structures.

Attack Vector

The attack vector requires adjacent network access (same Layer 2 network segment) to the target ESXi host. The attacker must be able to reach port 427 (SLP service) on the ESXi management interface. The attack does not require authentication or user interaction, making it highly exploitable once network access is achieved.

The exploitation sequence typically involves:

  1. Network reconnaissance to identify ESXi hosts with port 427 accessible
  2. Sending specially crafted SLP packets designed to trigger the heap overflow
  3. Leveraging heap corruption to gain control of execution flow
  4. Achieving remote code execution with root privileges on the ESXi host

Since no verified code examples are available for this vulnerability, readers seeking technical exploitation details should refer to the Zero Day Initiative Advisory ZDI-21-250 or the Packet Storm Security Exploit documentation.

Detection Methods for CVE-2021-21974

Indicators of Compromise

  • Unusual network traffic to port 427 (UDP/TCP) on ESXi hosts from unauthorized sources
  • Unexpected crashes or restarts of the SLP service (slpd) on ESXi hosts
  • Evidence of unauthorized process execution or shell access on ESXi systems
  • Anomalous outbound connections from ESXi management interfaces

Detection Strategies

  • Monitor network traffic for suspicious SLP protocol activity on port 427, particularly malformed or oversized packets
  • Deploy network intrusion detection systems (IDS) with signatures for CVE-2021-21974 exploitation attempts
  • Review ESXi system logs (/var/log/) for evidence of service crashes or unexpected authentication events
  • Implement network segmentation monitoring to detect unauthorized access to ESXi management networks

Monitoring Recommendations

  • Enable logging and alerting for all traffic to ESXi management interfaces, especially port 427
  • Configure SIEM solutions to correlate SLP-related events with potential indicators of compromise
  • Perform regular vulnerability scanning of ESXi hosts to identify unpatched systems
  • Monitor for unusual process activity or file system changes on ESXi hosts

How to Mitigate CVE-2021-21974

Immediate Actions Required

  • Apply the VMware security patches immediately: ESXi 7.0 Update 1c, ESXi 6.7 ESXi670-202102401-SG, or ESXi 6.5 ESXi650-202102101-SG
  • Disable the OpenSLP service on ESXi hosts if not required for operations
  • Restrict network access to port 427 using firewall rules to allow only trusted management systems
  • Isolate ESXi management networks from general user networks

Patch Information

VMware has released security patches addressing this vulnerability. Organizations should update to the following minimum versions:

  • ESXi 7.0: Update to ESXi70U1c-17325551 or later
  • ESXi 6.7: Apply patch ESXi670-202102401-SG or later
  • ESXi 6.5: Apply patch ESXi650-202102101-SG or later
  • Cloud Foundation: Update to the latest version per VMware Security Advisory VMSA-2021-0002

Workarounds

  • Disable the SLP service on ESXi hosts using the ESXi shell or vSphere CLI if the service is not required
  • Implement network-level controls to block access to port 427 from untrusted network segments
  • Use vSphere firewall rules to restrict SLP service access to authorized management systems only
bash
# Disable SLP service on ESXi via SSH
/etc/init.d/slpd stop
esxcli network firewall ruleset set -r CIMSLP -e false
chkconfig slpd off

# Verify SLP service is disabled
esxcli network firewall ruleset list | grep -i slp

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechVmware Cloud Foundation

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability58.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • Packet Storm Security Exploit

  • Zero Day Initiative Advisory ZDI-21-250
  • Vendor Resources
  • VMware Security Advisory VMSA-2021-0002
  • Related CVEs
  • CVE-2022-22957: VMware Cloud Foundation RCE Vulnerability

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

  • CVE-2021-21994: VMware Cloud Foundation Auth Bypass Flaw

  • CVE-2020-4005: VMware ESXi Privilege Escalation Flaw
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