CVE-2021-1721 .NET Core and Visual Studio Denial of Service Vulnerability
Attackers can cause a denial of service in .NET Core and Visual Studio environments, requiring users to apply security patches.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-1721?
CVE-2021-1721 is a medium-severity denial of service vulnerability in Microsoft .Net, published on 25 Feb 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
.NET Core and Visual Studio Denial of Service Vulnerability
Which versions are affected by CVE-2021-1721?
40 open source packages ship an affected version, including Microsoft.NETCore.App, dotnet and dotnet-sdk. It affects 5 products.
| Package | Affected | Fixed in |
|---|---|---|
Microsoft.NETCore.App NuGet | From 2.1.0 | 2.1.25 |
Microsoft.NETCore.App NuGet | From 2.1.0 | 2.1.25 |
dotnet Bitnami | From 5.0.0 | 5.0.3 |
dotnet-sdk Bitnami | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Host.linux-arm NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.linux-arm NuGet | From 3.1.0 | 3.1.12 |
34 more packages
Microsoft.NETCore.App.Host.linux-arm64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.linux-arm64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.linux-musl-arm64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.linux-musl-arm64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.linux-musl-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.linux-musl-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.linux-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.linux-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.osx-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.osx-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.rhel.6-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.rhel.6-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.win-arm NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.win-arm NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.win-arm64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.win-arm64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.win-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.win-x64 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.win-x86 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Host.win-x86 NuGet | From 3.1.0 | 3.1.12 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.linux-arm NuGet | From 5.0.0 | 5.0.3 |
Microsoft.NETCore.App.Runtime.Mono.linux-arm NuGet | From 5.0.0 | 5.0.3 |
Products include Microsoft .Net, Microsoft .Net Core, Microsoft Powershell Core, Microsoft Visual Studio 2017, Microsoft Visual Studio 2019.
How do I fix CVE-2021-1721?
Upgrade Microsoft.NETCore.App to 2.1.25 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-1721 being exploited?
There is no known exploitation of CVE-2021-1721 in the wild and no public exploit code.
Other vulnerabilities in Microsoft .Net
- CVE-2024-43498 .NET and Visual Studio Remote Code Execution Vulnerability
- CVE-2024-0057 NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability
- CVE-2026-96957 .NET Security Feature Bypass Vulnerability
- CVE-2026-69439 .NET and Visual Studio Elevation of Privilege Vulnerability
- CVE-2026-71328 .NET and Visual Studio Remote Code Execution Vulnerability
Sources
Also known as BIT-dotnet-2021-1721, BIT-dotnet-sdk-2021-1721, GHSA-3gp9-h8hw-pxpw, RHSA-2021:0470, RHSA-2021:0471, RHSA-2021:0472 and 3 more.