What’s Vulnerable › Vulnerabilities
CVE-2022-24512: .NET and Visual Studio Remote Code Execution Vulnerability
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-03-09 · updated 2026-06-17
- Weakness: CWE-94
Description
.NET and Visual Studio Remote Code Execution Vulnerability
Affected products
- Fedoraproject Fedora: 34, 35, 36
- Microsoft .NET: 5.0, 6.0.0
- Microsoft Corporation .NET Core: 3.1
- Microsoft Powershell: from 7.0 before 7.0.9; from 7.1 before 7.1.6; from 7.2 before 7.2.2 — fixed in 7.0.9, 7.1.6, 7.2.2
- Microsoft Visual Studio 2019: from 16.0 through 16.6.4; from 16.7.0 before 16.7.26; from 16.8.0 through 16.8.7; from 16.9.0 before 16.9.18; from 16.10.0 through 16.10.4; from 16.11.0 before 16.11.11 — fixed in 16.11.11, 16.7.26, 16.9.18
- Microsoft Visual Studio 2022 version 17.14: from 17.0 before 17.0.7 — fixed in 17.0.7
- Microsoft .NET 5.0: from 5.0.0 before 5.0.15 — fixed in 5.0.15
- Microsoft .NET 6.0: from 6.0.0 before 6.0.3 — fixed in 6.0.3
- Microsoft .NET Core 3.1: from 3.1 before 3.1.23 — fixed in 3.1.23
- Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10): from 16.11.0 before 16.11.11 — fixed in 16.11.11
- Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6): from 16.0.0 before 16.7.26 — fixed in 16.7.26
- Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8): from 15.0.0 before 16.9.18 — fixed in 16.9.18
- Microsoft Visual Studio 2022 version 17.0: from 17.0.0 before 17.0.7 — fixed in 17.0.7
- Microsoft PowerShell 7.0: from 7.0.0 before 7.0.9 — fixed in 7.0.9
- Microsoft PowerShell 7.1: from 7.1.0 before 7.1.6 — fixed in 7.1.6
- Microsoft PowerShell 7.2: from 7.2.0 before 7.2.2 — fixed in 7.2.2
How to fix
Upgrade to a fixed version: Microsoft Powershell 7.0.9, 7.1.6, 7.2.2; Microsoft Visual Studio 2019 16.11.11, 16.7.26, 16.9.18; Microsoft Visual Studio 2022 version 17.14 17.0.7; Microsoft .NET 5.0 5.0.15; Microsoft .NET 6.0 6.0.3; Microsoft .NET Core 3.1 3.1.23; Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) 16.11.11; Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6) 16.7.26; Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8) 16.9.18; Microsoft Visual Studio 2022 version 17.0 17.0.7; Microsoft PowerShell 7.0 7.0.9; Microsoft PowerShell 7.1 7.1.6. Check the vendor advisory for mitigations.
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-24512
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-24512
Get alerted when CVE-2022-24512 or the next vulnerability affects your stack