CVE-2025-21172: Microsoft Security Advisory | .NET and Visual Studio Remote Code Execution Vulnerability

CVE-2025-21172 · Severity: low · CVSS 3.1 · Published 2025-01-14

Microsoft Security Advisory CVE-2025-21172 | .NET and Visual Studio Remote Code Execution Vulnerability

Technologies: Microsoft.NetCore.App.Runtime.linux-arm (NuGet), Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet), Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet), Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet), Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet), Microsoft.NetCore.App.Runtime.linux-x64 (NuGet), Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet), Microsoft.NetCore.App.Runtime.osx-x64 (NuGet), Microsoft.NetCore.App.Runtime.win-arm (NuGet), Microsoft.NetCore.App.Runtime.win-arm64 (NuGet), Microsoft.NetCore.App.Runtime.win-x64 (NuGet), Microsoft.NetCore.App.Runtime.win-x86 (NuGet). Vendors: NuGet.

Quick answers

Is CVE-2025-21172 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-21172 being exploited in the wild.
How severe is CVE-2025-21172?
Low severity, with a CVSS score of 3.1, published 14 January 2025.
Which products and versions are affected?
Microsoft.NetCore.App.Runtime.linux-arm (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1; Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1; Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1; Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1; and 8 more.
Is there a fix for CVE-2025-21172?
Yes. Microsoft.NetCore.App.Runtime.linux-arm (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.win-arm (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.win-x64 (NuGet): upgrade to 9.0.1 or later; Microsoft.NetCore.App.Runtime.win-x86 (NuGet): upgrade to 9.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-21172?
Check whether you run Microsoft.NetCore.App.Runtime.linux-arm (NuGet), Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet), Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Microsoft.NetCore.App.Runtime.linux-arm (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-arm --version 9.0.1
  • Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-arm64 --version 9.0.1
  • Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm --version 9.0.1
  • Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm64 --version 9.0.1
  • Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-x64 --version 9.0.1
  • Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.linux-x64 --version 9.0.1
  • Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.osx-arm64 --version 9.0.1
  • Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.osx-x64 --version 9.0.1
  • Microsoft.NetCore.App.Runtime.win-arm (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.win-arm --version 9.0.1
  • Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.win-arm64 --version 9.0.1
  • Microsoft.NetCore.App.Runtime.win-x64 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.win-x64 --version 9.0.1
  • Microsoft.NetCore.App.Runtime.win-x86 (NuGet): upgrade to 9.0.1 or later
    dotnet add package Microsoft.NetCore.App.Runtime.win-x86 --version 9.0.1

Affected products

  • Microsoft.NetCore.App.Runtime.linux-arm (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.linux-x64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.osx-arm64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.osx-x64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.win-arm (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.win-arm64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.win-x64 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1
  • Microsoft.NetCore.App.Runtime.win-x86 (NuGet) ECOSYSTEM:introduced=9.0.0,fixed=9.0.1

Identifiers

  • CVE-2025-21172
  • GHSA-jjcv-wr2g-4rv4

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.