CVE-2024-21386 .NET Denial of Service Vulnerability
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2024-21386?
CVE-2024-21386 is a high-severity vulnerability in Microsoft Visual Studio 2022, published on 13 Feb 2024.
Official description
.NET Denial of Service Vulnerability
Weakness: CWE-400
Which versions are affected by CVE-2024-21386?
40 open source packages ship an affected version, including Microsoft.AspNetCore.App.Runtime.linux-arm, aspnet-core and Microsoft.AspNetCore.App.Runtime.linux-arm64. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
Microsoft.AspNetCore.App.Runtime.linux-arm NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-arm NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-arm NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-arm NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-arm NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-arm NuGet | From 8.0.0 | 8.0.2 |
34 more packages
aspnet-core Bitnami | From 6.0.0 | 6.0.27, 7.0.16, 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet | From 7.0.0 | 7.0.16 |
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet | From 8.0.0 | 8.0.2 |
Microsoft.AspNetCore.App.Runtime.osx-arm64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.osx-arm64 NuGet | All versions | 6.0.27 |
Microsoft.AspNetCore.App.Runtime.osx-arm64 NuGet | From 7.0.0 | 7.0.16 |
Products include Microsoft Asp.net Core, Microsoft Visual Studio 2022.
How do I fix CVE-2024-21386?
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to a fixed version for your release line: 6.0.27, 7.0.16 or 8.0.2.
Is CVE-2024-21386 being exploited?
There is no known exploitation of CVE-2024-21386 in the wild and no public exploit code.
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-21386, BIT-aspnet-core-2024-21386, CLEANSTART-2025-QC74254, GHSA-g74q-5xw3-j7q9, UBUNTU-CVE-2024-21386.