CVE-2024-21409

published 9 Apr 2024 · updated 3 May 2025

.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

7.3HighCVSS 7.3EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in .NET 8.0.4, .NET 7.0.18, .NET 6.0.29 and 10 more.

.NET, .NET Framework, and Visual Studio Remote Code Execution Vulnerability

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Microsoft.NET>=8.0 <8.0.4, >=7.0.0 <7.0.18, >=6.0.0 <6.0.298.0.4, 7.0.18, 6.0.29
Microsoft.NET Framework>=4.7.0 <4.7.4092.0, >=4.8.1 <4.8.9236.0, >=4.8.0 <4.8.4718.04.7.4092.0, 4.8.9236.0, 4.8.4718.0
MicrosoftPowerShell>=7.3.0 <7.3.12, >=7.4.0 <7.4.2, >=7.2.0 <7.2.197.3.12, 7.4.2, 7.2.19
MicrosoftVisual Studio>=17.6.0 <17.6.14, >=17.0 <17.9.6, >=17.4.0 <17.4.18, >=17.8.0 <17.8.917.6.14, 17.9.6, 17.4.18, 17.8.9

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in .NET Framework, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21409 severity on Zeptric[![CVE-2024-21409](https://zeptric.io/badge/cve/CVE-2024-21409.svg)](https://zeptric.io/cve/CVE-2024-21409)