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-2024-21386

CVE-2024-21386: Microsoft ASP.NET Core DOS Vulnerability

CVE-2024-21386 is a denial of service vulnerability in Microsoft ASP.NET Core that allows attackers to disrupt application availability. This article covers the technical details, affected versions, impact, and mitigation.

Published: January 28, 2026

CVE-2024-21386 Overview

CVE-2024-21386 is a .NET Denial of Service vulnerability affecting Microsoft ASP.NET Core and Visual Studio 2022. This vulnerability allows remote attackers to cause a denial of service condition through network-based attacks without requiring authentication or user interaction. The vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption), indicating that the flaw involves improper limitation of resource allocation that can be exploited to exhaust system resources.

Critical Impact

Remote attackers can exploit this vulnerability to cause service disruption in ASP.NET Core applications, potentially affecting the availability of web applications and services built on the .NET platform without requiring any privileges or user interaction.

Affected Products

  • Microsoft ASP.NET Core
  • Microsoft Visual Studio 2022

Discovery Timeline

  • 2024-02-13 - CVE-2024-21386 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-21386

Vulnerability Analysis

This denial of service vulnerability exists within the .NET framework's handling of certain operations in ASP.NET Core applications. The root cause relates to uncontrolled resource consumption (CWE-400), where the application fails to properly limit the allocation or consumption of resources when processing specific types of requests or data.

The vulnerability can be exploited remotely over the network without requiring any privileges or user interaction, making it particularly dangerous for internet-facing ASP.NET Core applications. When exploited, the vulnerability impacts only the availability of the affected system—confidentiality and integrity remain unaffected.

Root Cause

The vulnerability stems from improper resource management within ASP.NET Core's request handling mechanisms. When processing certain malformed or specially crafted requests, the application may consume excessive system resources such as memory or CPU cycles without proper bounds checking. This uncontrolled resource consumption (CWE-400) allows attackers to exhaust available resources, leading to service degradation or complete unavailability.

Attack Vector

The attack can be launched remotely over the network by sending specially crafted requests to an ASP.NET Core application. The attack characteristics include:

  • Network-based exploitation: Attackers can target vulnerable applications over the internet without requiring local access
  • No authentication required: The vulnerability can be exploited without any credentials or prior authentication
  • No user interaction needed: The attack can succeed without any action from legitimate users
  • Low complexity: The attack does not require sophisticated techniques or special conditions

The exploitation mechanism involves sending requests that trigger the resource exhaustion condition, causing the application to become unresponsive or crash. Detailed technical information about the specific attack payload is available in the Microsoft Security Update Guide.

Detection Methods for CVE-2024-21386

Indicators of Compromise

  • Sudden increase in memory consumption by ASP.NET Core application worker processes
  • Abnormally high CPU utilization without corresponding legitimate traffic increases
  • Application pool crashes or restarts in IIS hosting ASP.NET Core applications
  • Timeout errors or HTTP 503 Service Unavailable responses from previously stable endpoints

Detection Strategies

  • Monitor ASP.NET Core application resource consumption patterns and alert on anomalous spikes
  • Implement request rate limiting and analyze traffic patterns for potential DoS attack signatures
  • Deploy web application firewalls (WAF) configured to detect and block malformed requests
  • Use SentinelOne's Singularity platform to monitor for process anomalies and resource exhaustion patterns

Monitoring Recommendations

  • Configure Application Performance Monitoring (APM) tools to track resource utilization baselines for .NET applications
  • Set up alerts for worker process memory consumption exceeding normal operational thresholds
  • Monitor IIS and Kestrel web server logs for unusual request patterns or error spikes
  • Enable detailed .NET runtime diagnostics to capture resource allocation events during suspected attacks

How to Mitigate CVE-2024-21386

Immediate Actions Required

  • Apply the latest security updates from Microsoft for ASP.NET Core and Visual Studio 2022 immediately
  • Review and update all .NET runtime versions to patched releases as specified in the Microsoft Security Update Guide
  • Implement request rate limiting on exposed ASP.NET Core endpoints as a defense-in-depth measure
  • Consider temporarily restricting access to critical applications until patches can be applied

Patch Information

Microsoft has released security updates to address this vulnerability. Administrators should obtain patches through the following channels:

  • Microsoft Security Update Guide: The official patch information and download links are available at the Microsoft Security Update Guide for CVE-2024-21386
  • Visual Studio Updates: Update Visual Studio 2022 to the latest version through the Visual Studio Installer
  • NuGet Package Updates: Update ASP.NET Core NuGet packages to the latest patched versions in your projects
  • .NET SDK Updates: Install the latest .NET SDK that includes the security fixes

Workarounds

  • Implement rate limiting middleware in ASP.NET Core applications to restrict request frequency from individual sources
  • Configure reverse proxy or load balancer timeouts to prevent long-running malicious requests from consuming resources
  • Deploy behind a Web Application Firewall (WAF) with rules to filter potentially malicious traffic patterns
  • Consider implementing request size limits and connection timeouts at the application and infrastructure levels

Consult the Microsoft Security Update Guide for official guidance on configuration changes and workarounds until patches can be applied.

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechAsp.net Core

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.65%

  • 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-400

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update Guide
  • Related CVEs
  • CVE-2020-1597: ASP.NET Core Denial of Service Vulnerability

  • CVE-2025-26682: Microsoft ASP.NET Core DoS Vulnerability

  • CVE-2024-21404: Microsoft ASP.NET Core DOS Vulnerability

  • CVE-2020-1045: ASP.NET Core Auth Bypass Vulnerability
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