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-21404

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

CVE-2024-21404 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.

Updated: January 22, 2026

CVE-2024-21404 Overview

CVE-2024-21404 is a Denial of Service vulnerability affecting Microsoft's .NET framework, specifically impacting ASP.NET Core and Visual Studio 2022. This vulnerability allows remote attackers to cause service disruption without requiring authentication or user interaction, potentially leading to significant availability impacts on affected applications and development environments.

Critical Impact

Remote attackers can exploit this vulnerability over the network to cause denial of service conditions in ASP.NET Core applications and Visual Studio 2022, disrupting business operations and development workflows without requiring any privileges.

Affected Products

  • Microsoft ASP.NET Core
  • Microsoft Visual Studio 2022
  • Applications built on affected ASP.NET Core versions

Discovery Timeline

  • February 13, 2024 - CVE-2024-21404 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2024-21404

Vulnerability Analysis

This vulnerability is classified under CWE-476 (NULL Pointer Dereference), indicating a flaw where the application attempts to dereference a pointer that is expected to be valid but is actually null. In the context of ASP.NET Core and Visual Studio 2022, this null pointer dereference condition can be triggered remotely, causing the application to crash or become unresponsive.

The vulnerability is exploitable over the network without requiring any privileges or user interaction, making it particularly concerning for publicly-accessible ASP.NET Core web applications. When successfully exploited, the vulnerability results in complete loss of availability for the targeted service, though it does not impact data confidentiality or integrity.

Root Cause

The root cause of CVE-2024-21404 is a NULL Pointer Dereference (CWE-476) within the .NET framework code. This occurs when specific input conditions cause the application to reference a memory location through a null pointer, leading to an unhandled exception that terminates the process or renders it unresponsive. The vulnerability exists in how certain operations handle edge cases or malformed data, failing to properly validate pointer references before dereferencing them.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no authentication or user interaction. An attacker can remotely send specially crafted requests or data to an ASP.NET Core application or Visual Studio 2022 instance that triggers the null pointer dereference condition. The low attack complexity means that exploitation is straightforward once the vulnerable component is accessible.

The vulnerability can be triggered by sending malformed requests that cause the affected component to enter a code path where null pointer handling is insufficient, resulting in service disruption.

Detection Methods for CVE-2024-21404

Indicators of Compromise

  • Unexpected application crashes or restarts in ASP.NET Core services
  • Increased occurrence of unhandled exception errors in application logs
  • Null reference exceptions appearing in .NET runtime logs
  • Service unavailability patterns that coincide with specific network requests

Detection Strategies

  • Monitor ASP.NET Core application pools for abnormal restart patterns
  • Implement application performance monitoring (APM) to detect null reference exceptions
  • Review Windows Event Logs for .NET Runtime errors indicating null pointer issues
  • Deploy network traffic analysis to identify potential exploit attempts targeting .NET applications

Monitoring Recommendations

  • Configure alerting on application pool recycling events in IIS
  • Enable detailed error logging in ASP.NET Core applications to capture exception stack traces
  • Implement health check endpoints with automated monitoring to detect service degradation
  • Use SentinelOne's application monitoring capabilities to detect anomalous crash patterns

How to Mitigate CVE-2024-21404

Immediate Actions Required

  • Inventory all systems running ASP.NET Core and Visual Studio 2022 to identify vulnerable installations
  • Apply Microsoft's security updates as soon as possible
  • Implement rate limiting and input validation at the network edge to reduce exploitation risk
  • Consider temporarily restricting access to affected services from untrusted networks until patches are applied

Patch Information

Microsoft has released security updates to address CVE-2024-21404. Administrators should consult the Microsoft Security Update Guide for detailed patching instructions and affected version information. Updates are available through Windows Update, Microsoft Update Catalog, and Visual Studio's built-in update mechanism.

For ASP.NET Core applications, ensure that the runtime and SDK are updated to the latest patched versions. For Visual Studio 2022, apply the latest security updates through the Visual Studio Installer.

Workarounds

  • Deploy web application firewalls (WAF) to filter potentially malicious requests
  • Implement application-level request validation to reject malformed input before processing
  • Consider using load balancers with health checks to automatically route traffic away from crashed instances
  • Enable automatic restart policies for affected application pools to minimize downtime impact
bash
# Check installed .NET SDK and runtime versions
dotnet --list-sdks
dotnet --list-runtimes

# Update .NET SDK to latest version
dotnet sdk check

# For Visual Studio 2022, run the installer to check for updates
# Start Visual Studio Installer and click "Update" if available

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 Probability2.16%

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

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

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

  • CVE-2024-21386: 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