GitHub advisory · NuGet
Microsoft Security Advisory CVE-2025-21172 | .NET and Visual Studio Remote Code Execution Vulnerability
NuGet
What it fixes
Microsoft is releasing this security advisory to provide information about a vulnerability in .NET 8.0 and .NET 9.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.
An attacker could exploit this vulnerability by loading a specially crafted file in Visual Studio.
Announcement for this issue can be found at https://github.com/dotnet/runtime/issues/111424.
Microsoft has not identified any mitigating factors for this vulnerability.
The vulnerability affects any Microsoft .NET project if it uses any of affected packages versions listed below
Package name | Affected version | Patched version ------------ | ---------------- | ------------------------- Microsoft.NetCore.App.Runtime.linux-arm | >= 9.0.0, < 9.0.1 | 9.0.1 Microsoft.NetCore.App.Runtime.linux-arm64 | >= 9.0.0, < 9.0.1 | 9.0.1 Microsoft.NetCore.App.Runtime.linux-musl-arm | >= 9.0.0, < 9.0.1 | 9.0.1 Microsoft.NetCore.App.Runtime.linux-musl-arm64 | >= 9.0.0, < 9.0.1 | 9.0.1 Microsoft.NetCore.App.Runtime.linux-musl-x64 | >= 9.0.0, <…
Manual fix · NuGet
dotnet add package Microsoft.NetCore.App.Runtime.linux-arm --version 8.0.12dotnet add package Microsoft.NetCore.App.Runtime.linux-arm64 --version 8.0.12dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm --version 8.0.12dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm64 --version 8.0.12Sources