CVE-2022-24512: .NET and Visual Studio Remote Code Execution Vulnerability
.NET and Visual Studio Remote Code Execution Vulnerability
Other sources
A vulnerability exists in the double Parser routine of the system.runtime.dll.
— Red Hat
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 5.0, and .NET Core 3.1. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability. A Remote Code Execution vulnerability exists in .NET 6.0, .NET 5.0, and .NET Core 3.1 where a stack buffer overrun occurs in .NET Double Parse routine.
Patches Any .NET 6.0 application running on .NET 6.0.2 or lower Any .NET 5.0 application running on .NET 5.0.14 or lower Any .NET Core 3.1 application running on .NET Core 3.1.22 or lower
To fix the issue, please install the latest version of .NET 6.0, .NET 5.0, or .NET Core 3.1. If you have installed one or more .NET Core SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET Core SDKs.
If you're using .NET 6.0, you should download and install Runtime 6.0.3 or SDK 6.0.103 (for Visual Studio 2019 v17.0) or SDK 6.0.201 (for Visual Studio 2019 V17.1) from https://dotnet.microsoft.com/download/dotnet-core/5.0. If you're using .NET 5.0, you should download and install Runtime 5.0.15 or SDK 5.0.406 (for Visual Studio 2019 v16.11) or SDK 5.0.212 (for Visual Studio 2019 V16.9) from https://dotnet.microsoft.com/download/dotnet-core/5.0. If you're using .NET Core 3.1, you should download and install Runtime 3.1.23 or SDK 3.1.417 (for Visual Studio 2019 v16.7) from https://dotnet.microsoft.com/download/dotnet-core/3.1. .NET 6.0, .NET 5.0, and .NET Core 3.1 updates are also available from Microsoft Update. To access this either type "Check for updates" in your Windows search, or open Settings, choose Update & Security and then click Check for Updates.
Other Details
- Announcement for this issue can be found at dotnet/announcements#213 - An Issue for this can be found at https://github.com/dotnet/runtime/issues/66348 - MSRC details for this can be found at https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2022-24512
— GitHub
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.win-x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.win-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.win-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.win-armto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.osx-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.osx-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.win-x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.win-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-arm64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-arm64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-arm64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvossimulator-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvos-arm64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvos-arm64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvos-arm64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.tvos-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.osx-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.osx-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.osx-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.linux-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.osx-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.LLVM.AOT.linux-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.linux-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.linux-musl-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.linux-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.linux-armto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.iossimulator-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.ios-arm64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.ios-arm64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.ios-arm64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.ios-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.ios-arm.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.ios-arm.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.ios-arm.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.ios-armto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.browser-wasm.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.browser-wasm.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.browser-wasm.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.browser-wasmto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-x86.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-x64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-arm64.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-arm.Msi.arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.Mono.android-armto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.linux-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.linux-musl-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.linux-musl-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.linux-musl-armto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.linux-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.linux-armto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasmto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x86to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm64.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm.Msi.x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-armto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.tvossimulator-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.tvossimulator-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.tvos-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.maccatalyst-x64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
nuget/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.maccatalyst-arm64to a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.1.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.0.9 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.2.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.9.18 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.0.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.0.15 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.1.23 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.0.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.7.26 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.11.11 - Upgrade
Upgrade
.NET 5.0 Runtimeto a version that resolves this vulnerability.Fixed in 5.0.15 - Upgrade
Upgrade
.NET SDK for Visual Studio 2019 v16.11to a version that resolves this vulnerability.Fixed in 5.0.406 - Upgrade
Upgrade
.NET SDK for Visual Studio 2019 V16.9to a version that resolves this vulnerability.Fixed in 5.0.212 - Upgrade
Upgrade
.NET 6.0 Runtimeto a version that resolves this vulnerability.Fixed in 6.0.3 - Upgrade
Upgrade
.NET SDK for Visual Studio 2019 v17.0to a version that resolves this vulnerability.Fixed in 6.0.103 - Upgrade
Upgrade
.NET SDK for Visual Studio 2019 V17.1to a version that resolves this vulnerability.Fixed in 6.0.201 - Upgrade
Upgrade
.NET Core 3.1 Runtimeto a version that resolves this vulnerability.Fixed in 3.1.23 - Upgrade
Upgrade
.NET Core SDK for Visual Studio 2019 v16.7to a version that resolves this vulnerability.Fixed in 3.1.417
Event History
Frequently Asked Questions
What is CVE-2022-24512?
CVE-2022-24512 is a .NET and Visual Studio remote code execution vulnerability.
How severe is CVE-2022-24512?
CVE-2022-24512 has a severity level of 6.3 (high).
Which software versions are affected by CVE-2022-24512?
CVE-2022-24512 affects Visual Studio 2019 versions 16.0 - 16.10, Visual Studio 2022 version 17.0, .NET 6.0, PowerShell 7.2, .NET 5.0, .NET Core 3.1, Visual Studio 2019 versions 16.0 - 16.6, PowerShell 7.1, and Visual Studio 2019 versions 16.0 - 16.8.
How can I fix CVE-2022-24512?
To fix CVE-2022-24512, update to Visual Studio 2019 version 16.11, Visual Studio 2022 version 17.0, .NET 6.0, PowerShell 7.2, .NET 5.0, .NET Core 3.1, Visual Studio 2019 version 16.7, PowerShell 7.1, or Visual Studio 2019 version 16.9.
Where can I find more information about CVE-2022-24512?
You can find more information about CVE-2022-24512 at the following reference link: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-24512