CVE-2024-21404 .NET Denial of Service Vulnerability

High 7.5 Published Updated
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.

PackageAffectedFixed in
aspnet-core BitnamiFrom 6.0.06.0.27, 7.0.16, 8.0.2
Linux distribution packages (39)
aspnetcore-runtime-6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
aspnetcore-targeting-pack-6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.127-1.el8_6
dotnet-apphost-pack-6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-apphost-pack-6.0-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-host Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-host-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-hostfxr-6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-hostfxr-6.0-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-runtime-6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-runtime-6.0-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-sdk-6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.127-1.el8_6
dotnet-sdk-6.0-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.127-1.el8_6
dotnet-targeting-pack-6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.27-1.el8_6
dotnet-templates-6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.127-1.el8_6
dotnet6.0 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.127-1.el8_6
dotnet6.0-debuginfo Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.127-1.el8_6
dotnet6.0-debugsource Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.127-1.el8_6
netstandard-targeting-pack-2.1 Red Hat:rhel_eus:8.6::appstreamAll versions0:6.0.127-1.el8_6
dotnet-apphost-pack-6.0-debuginfo Red Hat:rhel_eus:8.6::crbAll versions0:6.0.27-1.el8_6
dotnet-host-debuginfo Red Hat:rhel_eus:8.6::crbAll versions0:6.0.27-1.el8_6
dotnet-hostfxr-6.0-debuginfo Red Hat:rhel_eus:8.6::crbAll versions0:6.0.27-1.el8_6
dotnet-runtime-6.0-debuginfo Red Hat:rhel_eus:8.6::crbAll versions0:6.0.27-1.el8_6
dotnet-sdk-6.0-debuginfo Red Hat:rhel_eus:8.6::crbAll versions0:6.0.127-1.el8_6
dotnet-sdk-6.0-source-built-artifacts Red Hat:rhel_eus:8.6::crbAll versions0:6.0.127-1.el8_6
dotnet6.0-debuginfo Red Hat:rhel_eus:8.6::crbAll versions0:6.0.127-1.el8_6
dotnet6.0-debugsource Red Hat:rhel_eus:8.6::crbAll versions0:6.0.127-1.el8_6
aspnetcore-runtime-6.0 Red Hat:rhel_eus:8.8::appstreamAll versions0:6.0.27-1.el8_8
aspnetcore-runtime-7.0 Red Hat:rhel_eus:8.8::appstreamAll versions0:7.0.16-1.el8_8
aspnetcore-targeting-pack-6.0 Red Hat:rhel_eus:8.8::appstreamAll versions0:6.0.27-1.el8_8
aspnetcore-targeting-pack-7.0 Red Hat:rhel_eus:8.8::appstreamAll versions0:7.0.16-1.el8_8
dotnet Red Hat:rhel_eus:8.8::appstreamAll versions0:7.0.116-1.el8_8
dotnet-apphost-pack-6.0 Red Hat:rhel_eus:8.8::appstreamAll versions0:6.0.27-1.el8_8
dotnet-apphost-pack-6.0-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions0:6.0.27-1.el8_8
dotnet-apphost-pack-7.0 Red Hat:rhel_eus:8.8::appstreamAll versions0:7.0.16-1.el8_8
dotnet-apphost-pack-7.0-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions0:7.0.16-1.el8_8
dotnet-host Red Hat:rhel_eus:8.8::appstreamAll versions0:7.0.16-1.el8_8
dotnet-host-debuginfo Red Hat:rhel_eus:8.8::appstreamAll versions0:7.0.16-1.el8_8
dotnet-hostfxr-6.0 Red Hat:rhel_eus:8.8::appstreamAll versions0: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.

All Microsoft Visual Studio 2022 vulnerabilities

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.

Is CVE-2024-21404 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free