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
    • 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-2023-21538

CVE-2023-21538: Microsoft .NET DOS Vulnerability

CVE-2023-21538 is a denial of service vulnerability in Microsoft .NET that allows attackers to disrupt application availability. This article covers the technical details, affected versions, and mitigation strategies.

Published: February 4, 2026

CVE-2023-21538 Overview

CVE-2023-21538 is a Denial of Service vulnerability affecting Microsoft .NET and PowerShell. This vulnerability allows remote attackers to cause a denial of service condition against affected applications without requiring authentication or user interaction. The vulnerability is associated with CWE-502 (Deserialization of Untrusted Data), indicating the issue stems from improper handling of serialized data that can be exploited to exhaust system resources.

Critical Impact

Remote attackers can disrupt the availability of .NET applications and PowerShell services through network-based attacks, potentially causing significant service outages in enterprise environments.

Affected Products

  • Microsoft .NET 6.0.0
  • Microsoft PowerShell 7.2
  • Fedora 36 and 37 (bundled .NET packages)

Discovery Timeline

  • January 10, 2023 - CVE-2023-21538 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-21538

Vulnerability Analysis

This vulnerability enables remote attackers to cause denial of service conditions in applications built on the .NET framework. The attack can be executed over the network without requiring any privileges or user interaction, making it particularly dangerous for internet-facing applications and services.

The vulnerability is classified under CWE-502 (Deserialization of Untrusted Data), suggesting that the underlying issue involves improper validation or handling of serialized data within the .NET runtime. When exploited, this can lead to resource exhaustion, causing the affected application or service to become unresponsive.

Root Cause

The root cause is related to insecure deserialization practices within the .NET runtime. When processing specially crafted input, the framework fails to properly validate or limit resource consumption during deserialization operations. This allows malicious actors to send requests that consume excessive memory, CPU cycles, or other system resources, ultimately leading to service degradation or complete unavailability.

Attack Vector

The attack vector is network-based, meaning attackers can remotely target vulnerable .NET applications without requiring local access. The exploitation requires:

  • Network Access: Attackers must be able to send network requests to the vulnerable application
  • No Authentication Required: The vulnerability can be exploited without valid credentials
  • No User Interaction: Exploitation is fully automated and does not require victim action

Attackers can craft malicious serialized payloads that, when processed by the vulnerable .NET runtime, trigger resource exhaustion conditions. This could involve deeply nested object structures, circular references, or other constructs that consume disproportionate system resources during processing.

Detection Methods for CVE-2023-21538

Indicators of Compromise

  • Unusual memory consumption spikes in .NET application processes
  • Increased CPU utilization without corresponding legitimate workload
  • Application pool crashes or automatic restarts in IIS-hosted .NET applications
  • Network traffic containing abnormally large or malformed serialized payloads

Detection Strategies

  • Monitor .NET application performance counters for memory and CPU anomalies
  • Implement network intrusion detection rules to identify suspicious serialized data patterns
  • Enable detailed logging for .NET deserialization operations
  • Deploy application performance monitoring (APM) to detect resource exhaustion patterns

Monitoring Recommendations

  • Configure alerts for abnormal resource consumption in .NET processes (dotnet.exe, w3wp.exe)
  • Implement rate limiting on endpoints that process serialized data
  • Monitor Windows Event Logs for application crashes related to resource exhaustion
  • Establish baseline metrics for normal application behavior to identify deviations

How to Mitigate CVE-2023-21538

Immediate Actions Required

  • Update Microsoft .NET 6.0 to the latest patched version
  • Update Microsoft PowerShell 7.2 to the latest security release
  • Apply Fedora security updates for bundled .NET packages
  • Review and restrict network exposure of vulnerable .NET applications

Patch Information

Microsoft has released security updates to address this vulnerability. Organizations should apply patches through their standard update channels:

  • Microsoft .NET: Update via Microsoft Update, Windows Update, or download directly from Microsoft
  • Microsoft PowerShell: Update via Microsoft Update or GitHub releases
  • Fedora: Apply updates through DNF package manager (dnf update dotnet*)

For detailed patch information and download links, refer to the Microsoft CVE-2023-21538 Security Update Guide.

Workarounds

  • Implement web application firewalls (WAF) to filter potentially malicious serialized data
  • Apply input size limits on endpoints accepting serialized data
  • Restrict network access to vulnerable applications using firewall rules
  • Consider implementing request throttling to mitigate resource exhaustion attacks
  • If feasible, disable or restrict deserialization functionality in affected applications until patches can be applied
bash
# Example: Restrict .NET application pool memory limits in IIS (Windows)
# Open IIS Manager > Application Pools > Advanced Settings
# Set "Private Memory Limit (KB)" to an appropriate value

# For Linux/Fedora, update .NET packages:
sudo dnf update dotnet-sdk-6.0 dotnet-runtime-6.0 aspnetcore-runtime-6.0

# Verify installed .NET version:
dotnet --list-sdks
dotnet --list-runtimes

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMicrosoft Dotnet

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.64%

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

  • NVD-CWE-noinfo
  • Technical References
  • Microsoft CVE-2023-21538 Update Guide
  • Related CVEs
  • CVE-2026-33116: .NET Framework DoS Vulnerability

  • CVE-2024-20672: Microsoft .NET DOS Vulnerability

  • CVE-2024-38095: Microsoft .NET Denial of Service Vulnerability

  • CVE-2024-30105: Microsoft .NET DOS 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