What’s Vulnerable › Vulnerabilities
CVE-2023-21808: .NET and Visual Studio Remote Code Execution Vulnerability
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-14 · updated 2026-08-19
- Weakness: CWE-416
Description
.NET and Visual Studio Remote Code Execution Vulnerability
Affected products
- Microsoft .NET: 6.0.0, 7.0.0
- Microsoft .NET Framework: 3.5, 4.8, 4.7.2, 4.8.1, 4.6.2, 4.7 (+1)
- Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.0 before 15.9.51 — fixed in 15.9.51
- Microsoft Visual Studio 2019: from 16.0 before 16.11.24 — fixed in 16.11.24
- Microsoft Visual Studio 2022 version 17.14: 17.0, 17.2, 17.4
- Microsoft .NET 6.0: from 6.0.0 before 6.0.14 — fixed in 6.0.14
- Microsoft .NET 7.0: from 7.0.0 before 7.0.3 — fixed in 7.0.3
- Microsoft .NET Framework 3.5 and 4.6.2: from 4.7.0 before 10.0.10240.19747 — fixed in 10.0.10240.19747
- Microsoft .NET Framework 3.5 AND 4.7.2: from 4.7.0 before 10.0.04038.03 — fixed in 10.0.04038.03
- Microsoft .NET Framework 3.5 AND 4.8: from 4.8.0 before 10.0.04614.06 — fixed in 10.0.04614.06
- Microsoft .NET Framework 3.5 AND 4.8.1: from 4.8.1 before 10.0.09139.02 — fixed in 10.0.09139.02
- Microsoft .NET Framework 4.6.2: from 4.7.0 before 4.7.04038.06 — fixed in 4.7.04038.06
- Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2: from 4.7.0 before 4.7.04614.08 — fixed in 4.7.04614.08
- Microsoft .NET Framework 4.8: from 4.8.0 before 4.8.04614.05 — fixed in 4.8.04614.05
- Microsoft Visual Studio 2013 Update 5: from 12.0.0 before 12.0.40700.0 — fixed in 12.0.40700.0
- Microsoft Visual Studio 2015 Update 3: from 14.0.0 before 14.0.27555.0 — fixed in 14.0.27555.0
- Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0 before 16.11.24 — fixed in 16.11.24
- Microsoft Visual Studio 2022 version 17.0: from 17.0.0 before 17.0.19 — fixed in 17.0.19
- Microsoft Visual Studio 2022 version 17.2: from 17.2.0 before 17.2.13 — fixed in 17.2.13
- Microsoft Visual Studio 2022 version 17.4: from 17.4.0 before 17.4.5 — fixed in 17.4.5
- Microsoft PowerShell 7.2: from 7.2.0 before 7.2.10 — fixed in 7.2.10
- Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8): from 15.9.0 before 15.9.52 — fixed in 15.9.52
How to fix
Upgrade to a fixed version: Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 15.9.51; Microsoft Visual Studio 2019 16.11.24; Microsoft .NET 6.0 6.0.14; Microsoft .NET 7.0 7.0.3; Microsoft .NET Framework 3.5 and 4.6.2 10.0.10240.19747; Microsoft .NET Framework 3.5 AND 4.7.2 10.0.04038.03; Microsoft .NET Framework 3.5 AND 4.8 10.0.04614.06; Microsoft .NET Framework 3.5 AND 4.8.1 10.0.09139.02; Microsoft .NET Framework 4.6.2 4.7.04038.06; Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 4.7.04614.08; Microsoft .NET Framework 4.8 4.8.04614.05; Microsoft Visual Studio 2013 Update 5 12.0.40700.0. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21808
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-21808
Get alerted when CVE-2023-21808 or the next vulnerability affects your stack