Vulnerability · Published Jan 14, 2025 · Assigned by microsoft
CVE-2025-21171.NET Remote Code Execution Vulnerability
High 7.5
In plain English
A high-severity heap buffer overflow in Microsoft Visual Studio 2022 version 17.10 from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.7%top 22.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
.NET Remote Code Execution Vulnerability
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | aspnetcore-runtime-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | aspnetcore-runtime-dbg-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | aspnetcore-targeting-pack-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-apphost-pack-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-host | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-hostfxr-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-runtime-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-runtime-dbg-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-sdk-9.0 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-sdk-9.0-source-built-artifacts | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-sdk-aot-9.0 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-sdk-dbg-9.0 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-targeting-pack-9.0 | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | dotnet-templates-9.0 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux:8 | netstandard-targeting-pack-2.1 | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| Alpine:v3.21 | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21171 |
| Alpine:v3.22 | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21171 |
| Alpine:v3.23 | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21171 |
| Alpine:v3.24 | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21171 |
| NuGet | microsoft.netcore.app.runtime.linux-arm | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.linux-arm64 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.linux-musl-arm64 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.linux-musl-x64 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.linux-x64 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.osx-arm64 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.osx-x64 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.win-arm | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.win-arm64 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.win-x64 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| NuGet | microsoft.netcore.app.runtime.win-x86 | 9.0.1 | GHSA-p54p-p3qm-8vgj |
| Rocky Linux:8 | dotnet9.0 | 0:9.0.102-1.el8_10 | RLSA-2025:0382 |
| Ubuntu:22.04:LTS | dotnet7 | no fix listed | UBUNTU-CVE-2025-21171 |
| Ubuntu:22.04:LTS | dotnet8 | 8.0.112-8.0.12-0ubuntu1~22.04.1 | USN-7210-1 |
| Ubuntu:24.04:LTS | dotnet8 | 8.0.112-8.0.12-0ubuntu1~24.04.1 | USN-7210-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | .NET 9.0 | 9.0.0 – before 9.0.1 |
| Microsoft | Microsoft Visual Studio 2022 version 17.10 | 17.10.0 – before 17.10.10 |
| Microsoft | Microsoft Visual Studio 2022 version 17.12 | 17.12.0 – before 17.12.4 |
| Microsoft | Microsoft Visual Studio 2022 version 17.6 | 17.6.0 – before 17.6.22 |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 | 17.8.0 – before 17.8.17 |
| Microsoft | PowerShell 7.5 | 7.5.0 – before 7.5.0 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
References
- .NET Remote Code Execution Vulnerability vendor-advisory, patch