Description
.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Microsoft | Microsoft Visual Studio 2022 version 17.9 | 17.0 – < 17.9.6 | 17.9.6 |
| Microsoft | Microsoft Visual Studio 2022 version 17.4 | 17.4.0 – < 17.4.18 | 17.4.18 |
| Microsoft | Microsoft Visual Studio 2022 version 17.6 | 17.6.0 – < 17.6.14 | 17.6.14 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 | 17.8.0 – < 17.8.9 | 17.8.9 |
| Microsoft | PowerShell 7.3 | 7.3.0 – < 7.3.12 | 7.3.12 |
| Microsoft | PowerShell 7.4 | 7.4.0 – < 7.4.2 | 7.4.2 |
| Microsoft | PowerShell 7.2 | 7.2.0 – < 7.2.19 | 7.2.19 |
| Microsoft | .NET 6.0 | 6.0.0 – < 6.0.29 | 6.0.29 |
| Microsoft | .NET 7.0 | 7.0.0 – < 7.0.18 | 7.0.18 |
| Microsoft | .NET 8.0 | 8.0 – < 8.0.4 | 8.0.4 |
| Microsoft | Microsoft .NET Framework 4.8 | 4.8.0 – < 4.8.4718.0 | 4.8.4718.0 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.8 | 4.8.0 – < 4.8.4718.0 | 4.8.4718.0 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.7.2 | 4.7.0 – < 4.7.4092.0 | 4.7.4092.0 |
| Microsoft | Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2 | 4.7.0 – < 4.7.4092.0 | 4.7.4092.0 |
| Microsoft | Microsoft .NET Framework 3.5 AND 4.8.1 | 4.8.1 – < 4.8.9236.0 | 4.8.9236.0 |
| Microsoft | Microsoft .NET Framework 4.6.2 | 4.7.0 – < 4.7.4092.0 | 4.7.4092.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | dotnet8-runtime | 8.0.4-r0 | — |
| Alpine v3.23 | dotnet8-runtime | 8.0.4-r0 | — |
| Alpine v3.22 | dotnet8-runtime | 8.0.4-r0 | — |
| Alpine v3.21 | dotnet8-runtime | 8.0.4-r0 | — |
| Alpine v3.20 | dotnet6-build | 6.0.129-r0 | — |
| Alpine v3.20 | dotnet6-runtime | 6.0.29-r0 | — |
| Alpine v3.20 | dotnet8-runtime | 8.0.4-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | dotnet6-build | 6.0.129-r0 | — |
| Alpine v3.19 | dotnet6-runtime | 6.0.29-r0 | — |
| Alpine v3.19 | dotnet7-build | 7.0.118-r0 | — |
| Alpine v3.19 | dotnet7-runtime | 7.0.18-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | dotnet +4 | 6.0.129-1.amzn2023.0.1 | ALAS2023-2024-597 |
| Amazon Linux 2023 | dotnet-host +6 | 6.0.29-1.amzn2023.0.1 | ALAS2023-2024-597 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
vkairy/cve-2024-21409-repro ★ 1 · Feb 12, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-arm64 | < 6.0.29 | 6.0.29 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-arm64 | >= 8.0.0, < 8.0.4 | 8.0.4 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-arm64 | >= 7.0.0, < 7.0.18 | 7.0.18 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x64 | < 6.0.29 | 6.0.29 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x64 | >= 8.0.0, < 8.0.4 | 8.0.4 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x64 | >= 7.0.0, < 7.0.18 | 7.0.18 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x86 | >= 7.0.0, < 7.0.18 | 7.0.18 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x86 | >= 8.0.0, < 8.0.4 | 8.0.4 | GHSA-6qmx-42h2-j8h6 |
| NuGet | Microsoft.WindowsDesktop.App.Runtime.win-x86 | < 6.0.29 | 6.0.29 | GHSA-6qmx-42h2-j8h6 |
Advisories 3
- ALAS2023-2024-597 Important: dotnet6.0 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Apr 25, 2024
- MSRC-CVE-2024-21409 .NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability Microsoft Security Response Center · Apr 18, 2024
- WID-SEC-2024-0839 Microsoft Developer Tools: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · Apr 9, 2024