Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-21172

dotnet: .NET and Visual Studio Remote Code Execution Vulnerability

Overview

Published
14 Jan 2025
Modified
17 Jun 2026
High CVE
14 Registry packages
59 OS packages
9 Linux distributions
Yes Fix available

Description

.NET and Visual Studio Remote Code Execution Vulnerability

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-122, CWE-190

Affected packages · 14

Packages affected by CVE-2025-21172
EcosystemPackageVulnerableFixed in
Bitnami dotnet >=8.0.0, <8.0.1>=9.0.0, <9.0.1 8.0.19.0.1
Bitnami dotnet-sdk >=8.0.0, <8.0.101>=9.0.0, <9.0.100 8.0.1019.0.100
NuGet Microsoft.NETCore.App.Runtime.linux-arm >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.linux-arm64 >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm64 >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.linux-musl-x64 >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.linux-x64 >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.osx-arm64 >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.osx-x64 >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.win-arm >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.win-arm64 >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.win-x64 >=9.0.0, <9.0.1>=8.0.0, <8.0.12 9.0.18.0.12
NuGet Microsoft.NETCore.App.Runtime.win-x86 >=9.0.0, <9.0.1 9.0.1

Open a package to see all its vulnerabilities.

Operating systems · 36 fixes

Oracle Linux 1 release · 4 packages

fixed 4
dotnet-sdk-8-0 aspnetcore-runtime-8-0 aspnetcore-runtime-9-0 dotnet
Oracle Linux fixes for CVE-2025-21172
ReleasePackageFixed in
8 dotnet-sdk-8-0 +3 8.0.112-1.0.1.el8_10
8 aspnetcore-runtime-8-0 +7 8.0.12-1.0.1.el8_10
8 aspnetcore-runtime-9-0 +8 9.0.1-1.0.1.el8_10
8 dotnet +6 9.0.102-1.0.1.el8_10

Red Hat 2 releases · 6 packages

fixed 10 eol 1
dotnet-sdk-8-0 aspnetcore-runtime-8-0 aspnetcore-runtime-9-0 dotnet aspnetcore-runtime-6-0 dotnet-sdk-9-0
Red Hat fixes for CVE-2025-21172
ReleasePackageFixed inAdvisory
8 dotnet-sdk-8-0 +3 0:8.0.112-1.el8_10 RHSA-2025:0381
8 aspnetcore-runtime-8-0 +7 0:8.0.12-1.el8_10 RHSA-2025:0381
8 aspnetcore-runtime-9-0 +8 0:9.0.1-1.el8_10 RHSA-2025:0382
8 dotnet +6 0:9.0.102-1.el8_10 RHSA-2025:0382
9 aspnetcore-runtime-6-0 +21 eol —
9 dotnet-sdk-8-0 +4 0:8.0.112-1.el9_4 RHSA-2025:0532

5 more rows

alma 1 release · 4 packages

fixed 4
dotnet-sdk-8-0 aspnetcore-runtime-8-0 aspnetcore-runtime-9-0 dotnet
alma fixes for CVE-2025-21172
ReleasePackageFixed in
8 dotnet-sdk-8-0 +3 8.0.112-1.el8_10
8 aspnetcore-runtime-8-0 +7 8.0.12-1.el8_10
8 aspnetcore-runtime-9-0 +8 9.0.1-1.el8_10
8 dotnet +6 9.0.102-1.el8_10

alpine 4 releases · 2 packages

fixed 7
dotnet8-runtime dotnet9-runtime
alpine fixes for CVE-2025-21172
ReleasePackageFixed in
3.22 dotnet8-runtime 8.0.12-r0
3.22 dotnet9-runtime 9.0.1-r0
3.23 dotnet8-runtime 8.0.12-r0
3.23 dotnet9-runtime 9.0.1-r0
3.24 dotnet8-runtime 8.0.12-r0
3.24 dotnet9-runtime 9.0.1-r0

1 more row

amazon linux 1 release · 2 packages

fixed 2
dotnet aspnetcore-runtime-8-0
amazon linux fixes for CVE-2025-21172
ReleasePackageFixed in
2023 dotnet +8 8.0.112-1.amzn2023
2023 aspnetcore-runtime-8-0 +12 8.0.12-1.amzn2023

chainguard 1 release · 1 package

fixed 1
dotnet-bootstrap-9
chainguard fixes for CVE-2025-21172
ReleasePackageFixed in
dotnet-bootstrap-9 9.0.200-r0

rocky 1 release · 4 packages

fixed 4
dotnet-sdk-8-0 aspnetcore-runtime-8-0 aspnetcore-runtime-9-0 dotnet
rocky fixes for CVE-2025-21172
ReleasePackageFixed in
8 dotnet-sdk-8-0 +2 8.0.112-1.el8_10
8 aspnetcore-runtime-8-0 +7 8.0.12-1.el8_10
8 aspnetcore-runtime-9-0 +6 9.0.1-1.el8_10
8 dotnet +3 9.0.102-1.el8_10

ubuntu 2 releases · 1 package

fixed 2
dotnet8
ubuntu fixes for CVE-2025-21172
ReleasePackageFixed in
22.04 dotnet8 8.0.112-8.0.12-0ubuntu1~22.04.1
24.04 dotnet8 8.0.112-8.0.12-0ubuntu1~24.04.1

wolfi 1 release · 1 package

fixed 1
dotnet-bootstrap-9
wolfi fixes for CVE-2025-21172
ReleasePackageFixed in
dotnet-bootstrap-9 9.0.200-r0

References

Show all 27 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.