Live threats

All CVEs / Microsoft

CVE-2025-21171Microsoft .net

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Jan 14, 2025
Updated
Jun 17, 2026
Category
Application · Windows
Weakness (CWE)
CWE-122
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

.NET Remote Code Execution Vulnerability

Original NVD text.

What to do

  1. Apply the vendor's security update for .net.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Microsoft.NetCore.App.Runtime.linux-arm ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.linux-arm --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.linux-arm64 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.linux-arm64 --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.linux-musl-arm ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.linux-musl-arm64 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm64 --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.linux-musl-x64 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-x64 --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.linux-x64 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.linux-x64 --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.osx-arm64 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.osx-arm64 --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.osx-x64 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.osx-x64 --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.win-arm ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.win-arm --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.win-arm64 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.win-arm64 --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.win-x64 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.win-x64 --version 9.0.1
NuGet Microsoft.NetCore.App.Runtime.win-x86 ≥ 9.0.0 < 9.0.1 9.0.1 dotnet add package Microsoft.NetCore.App.Runtime.win-x86 --version 9.0.1

Per OSV / GitHub Advisories (GHSA-p54p-p3qm-8vgj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
microsoft.net9.0.0
microsoftpowershell7.5
microsoftvisual_studio_2022≥ 17.6.0 < 17.6.22
microsoftvisual_studio_2022≥ 17.8.0 < 17.8.17
microsoftvisual_studio_2022≥ 17.10.0 < 17.10.10
microsoftvisual_studio_2022≥ 17.12.0 < 17.12.4

Official sources

References

Links published by the sources. Open them with care.