CVE-2024-21404 .NET Denial of Service Vulnerability
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-21404?
CVE-2024-21404 is a high-severity vulnerability in Microsoft Visual Studio 2022, published on 13 Feb 2024.
Official description
.NET Denial of Service Vulnerability
Weakness: CWE-476
Which versions are affected by CVE-2024-21404?
1 open source package ship an affected version, including aspnet-core. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
aspnet-core Bitnami | From 6.0.0 | 6.0.27, 7.0.16, 8.0.2 |
Linux distribution packages (39)
aspnetcore-runtime-6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
aspnetcore-targeting-pack-6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.127-1.el8_6 |
dotnet-apphost-pack-6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-apphost-pack-6.0-debuginfo Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-host Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-host-debuginfo Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-hostfxr-6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-hostfxr-6.0-debuginfo Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-runtime-6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-runtime-6.0-debuginfo Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-sdk-6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.127-1.el8_6 |
dotnet-sdk-6.0-debuginfo Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.127-1.el8_6 |
dotnet-targeting-pack-6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.27-1.el8_6 |
dotnet-templates-6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.127-1.el8_6 |
dotnet6.0 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.127-1.el8_6 |
dotnet6.0-debuginfo Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.127-1.el8_6 |
dotnet6.0-debugsource Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.127-1.el8_6 |
netstandard-targeting-pack-2.1 Red Hat:rhel_eus:8.6::appstream | All versions | 0:6.0.127-1.el8_6 |
dotnet-apphost-pack-6.0-debuginfo Red Hat:rhel_eus:8.6::crb | All versions | 0:6.0.27-1.el8_6 |
dotnet-host-debuginfo Red Hat:rhel_eus:8.6::crb | All versions | 0:6.0.27-1.el8_6 |
dotnet-hostfxr-6.0-debuginfo Red Hat:rhel_eus:8.6::crb | All versions | 0:6.0.27-1.el8_6 |
dotnet-runtime-6.0-debuginfo Red Hat:rhel_eus:8.6::crb | All versions | 0:6.0.27-1.el8_6 |
dotnet-sdk-6.0-debuginfo Red Hat:rhel_eus:8.6::crb | All versions | 0:6.0.127-1.el8_6 |
dotnet-sdk-6.0-source-built-artifacts Red Hat:rhel_eus:8.6::crb | All versions | 0:6.0.127-1.el8_6 |
dotnet6.0-debuginfo Red Hat:rhel_eus:8.6::crb | All versions | 0:6.0.127-1.el8_6 |
dotnet6.0-debugsource Red Hat:rhel_eus:8.6::crb | All versions | 0:6.0.127-1.el8_6 |
aspnetcore-runtime-6.0 Red Hat:rhel_eus:8.8::appstream | All versions | 0:6.0.27-1.el8_8 |
aspnetcore-runtime-7.0 Red Hat:rhel_eus:8.8::appstream | All versions | 0:7.0.16-1.el8_8 |
aspnetcore-targeting-pack-6.0 Red Hat:rhel_eus:8.8::appstream | All versions | 0:6.0.27-1.el8_8 |
aspnetcore-targeting-pack-7.0 Red Hat:rhel_eus:8.8::appstream | All versions | 0:7.0.16-1.el8_8 |
dotnet Red Hat:rhel_eus:8.8::appstream | All versions | 0:7.0.116-1.el8_8 |
dotnet-apphost-pack-6.0 Red Hat:rhel_eus:8.8::appstream | All versions | 0:6.0.27-1.el8_8 |
dotnet-apphost-pack-6.0-debuginfo Red Hat:rhel_eus:8.8::appstream | All versions | 0:6.0.27-1.el8_8 |
dotnet-apphost-pack-7.0 Red Hat:rhel_eus:8.8::appstream | All versions | 0:7.0.16-1.el8_8 |
dotnet-apphost-pack-7.0-debuginfo Red Hat:rhel_eus:8.8::appstream | All versions | 0:7.0.16-1.el8_8 |
dotnet-host Red Hat:rhel_eus:8.8::appstream | All versions | 0:7.0.16-1.el8_8 |
dotnet-host-debuginfo Red Hat:rhel_eus:8.8::appstream | All versions | 0:7.0.16-1.el8_8 |
dotnet-hostfxr-6.0 Red Hat:rhel_eus:8.8::appstream | All versions | 0:6.0.27-1.el8_8 |
Products include Microsoft Asp.net Core, Microsoft Visual Studio 2022.
How do I fix CVE-2024-21404?
Upgrade aspnet-core to a fixed version for your release line: 6.0.27, 7.0.16 or 8.0.2.
Is CVE-2024-21404 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-21404 exists.
Other vulnerabilities in Microsoft Visual Studio 2022
- CVE-2025-55315 ASP.NET Security Feature Bypass Vulnerability
- CVE-2026-88092 ASP.NET Core Tampering Vulnerability
- CVE-2026-40372 ASP.NET Core Elevation of Privilege Vulnerability
- CVE-2021-43877 ASP.NET Core and Visual Studio Elevation of Privilege Vulnerability
- CVE-2020-0603 Remote code execution in ASP.NET Core
Sources
Also known as BELL-CVE-2024-21404, BIT-aspnet-core-2024-21404, CLEANSTART-2025-MP76988, GHSA-q5x8-3vm4-xrh9, RHSA-2024:1552, RHSA-2024:1553 and 5 more.