CVE-2025-21173 json
.NET Elevation of Privilege Vulnerability
published last yr. modified 2mo ago also BIT-dotnet-2025-21173 , BIT-dotnet-sdk-2025-21173 , EUVD-2025-2256
- cvss
- 7.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
.NET Elevation of Privilege Vulnerability
Patch / fix
- bitnami dotnet 8.0.1, 9.0.1
- bitnami dotnet-sdk 8.0.101, 9.0.100
- Microsoft .NET 8.0 8.0.12
- Microsoft .NET 9.0 9.0.1
- Microsoft Microsoft Visual Studio 2022 version 17.10 17.10.10
- Microsoft Microsoft Visual Studio 2022 version 17.12 17.12.4
- Microsoft Microsoft Visual Studio 2022 version 17.6 17.6.22
- Microsoft Microsoft Visual Studio 2022 version 17.8 17.8.17
- dotnet8 Ubuntu 22.04 LTS 8.0.112-8.0.12-0ubuntu1~22.04.1
- dotnet8 Ubuntu 24.04 LTS 8.0.112-8.0.12-0ubuntu1~24.04.1
ubuntu advisories UBUNTU-CVE-2025-21173
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dotnet9.0 RHEL 9 9.0.102-1.el9_5
- dotnet-host RHEL 9 9.0.1-1.el9_5
- dotnet-sdk-9.0 RHEL 9 9.0.102-1.el9_5
- dotnet-hostfxr-9.0 RHEL 9 9.0.1-1.el9_5
- dotnet-runtime-9.0 RHEL 9 9.0.1-1.el9_5
- dotnet-sdk-aot-9.0 RHEL 9 9.0.102-1.el9_5
- dotnet-sdk-dbg-9.0 RHEL 9 9.0.102-1.el9_5
- dotnet-templates-9.0 RHEL 9 9.0.102-1.el9_5
red hat advisories RHSA-2025:0532RHBA-2025:0305RHBA-2025:0304RHSA-2025:0381RHSA-2025:0382
- dotnet-sdk-8.0 AlmaLinux 8 8.0.112-1.el8_10
- dotnet-hostfxr-8.0 AlmaLinux 8 8.0.12-1.el8_10
- dotnet-runtime-8.0 AlmaLinux 8 8.0.12-1.el8_10
- dotnet-sdk-dbg-8.0 AlmaLinux 8 8.0.112-1.el8_10
- dotnet-templates-8.0 AlmaLinux 8 8.0.112-1.el8_10
- aspnetcore-runtime-8.0 AlmaLinux 8 8.0.12-1.el8_10
- dotnet-runtime-dbg-8.0 AlmaLinux 8 8.0.12-1.el8_10
- dotnet-apphost-pack-8.0 AlmaLinux 8 8.0.12-1.el8_10
almalinux advisories ALSA-2025:0381ALSA-2025:0382
- dotnet8.0 Rocky Linux 8 8.0.112-1.el8_10
- dotnet9.0 Rocky Linux 8 9.0.102-1.el8_10
rocky linux advisories RLSA-2025:0381RLSA-2025:0382
- dotnet8-runtime Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 8.0.12-r0
- dotnet9-runtime Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 9.0.1-r0
alpine advisories ALPINE-CVE-2025-21173
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2025-21173 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-21173 updated cvss 7.3
dotnet: .NET Elevation of Privilege Vulnerability
-
Red Hat Enterprise Linux 9 dotnet6.0, dotnet7.0, dotnet-host, dotnet-sdk-6.0, dotnet-sdk-7.0, dotnet-hostfxr-6.0, +16 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 9) dotnet-sdk-8.0-source-built-artifacts 8.0.112-1.el9_5, dotnet-sdk-9.0-source-built-artifacts 9.0.102-1.el9_5fixed: vendor fix RHBA-2025:0304
-
Red Hat CodeReady Linux Builder EUS (v.9.4) dotnet-sdk-8.0-source-built-artifacts 8.0.112-1.el9_4fixed: vendor fix RHSA-2025:0532
-
Red Hat Enterprise Linux AppStream (v. 8) dotnet 9.0.102-1.el8_10, dotnet-host 9.0.1-1.el8_10, dotnet8.0 8.0.112-1.el8_10, dotnet9.0 9.0.102-1.el8_10, dotnet-sdk-8.0 8.0.112-1.el8_10, dotnet-sdk-9.0 9.0.102-1.el8_10, +22 morefixed: vendor fix RHSA-2025:0381
-
Red Hat Enterprise Linux AppStream (v. 9) dotnet-host 9.0.1-1.el9_5, dotnet8.0 8.0.112-1.el9_5, dotnet9.0 9.0.102-1.el9_5, dotnet-sdk-8.0 8.0.112-1.el9_5, dotnet-sdk-9.0 9.0.102-1.el9_5, dotnet-hostfxr-9.0 9.0.1-1.el9_5, +21 morefixed: vendor fix RHBA-2025:0304
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) dotnet8.0 8.0.112-1.el9_4, dotnet-host 8.0.12-1.el9_4, dotnet-sdk-8.0 8.0.112-1.el9_4, dotnet-hostfxr-8.0 8.0.12-1.el9_4, dotnet-runtime-8.0 8.0.12-1.el9_4, dotnet-sdk-dbg-8.0 8.0.112-1.el9_4, +8 morefixed: vendor fix RHSA-2025:0532
-
Red Hat Enterprise Linux CRB (v. 8) dotnet-sdk-8.0-source-built-artifacts 8.0.112-1.el8_10, dotnet-sdk-9.0-source-built-artifacts 9.0.102-1.el8_10fixed: vendor fix RHSA-2025:0381
-
Red Hat Enterprise Linux 10 dotnet8.0, dotnet9.0not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
1.30% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | dotnet | >=8.0.0, <8.0.1 >=9.0.0, <9.0.1 |
8.0.1 9.0.1 |
| bitnami | dotnet-sdk | >=8.0.0, <8.0.101 >=9.0.0, <9.0.100 |
8.0.101 9.0.100 |
Affected products
- Microsoft .NET 8.0
- Microsoft .NET 9.0
- Microsoft Microsoft Visual Studio 2022 version 17.10
- Microsoft Microsoft Visual Studio 2022 version 17.12
- Microsoft Microsoft Visual Studio 2022 version 17.6
- Microsoft Microsoft Visual Studio 2022 version 17.8
Classification
- Weakness
-
- CWE-379 Creation of Temporary File in Directory with Insecure Permissions
References
-
msrc.microsoft.com
/update-guide/vulnerability/CVE-2025-21173
vendor-advisory, patch, advisory
-
herodevs.com
/vulnerability-directory/cve-2025-21173
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-21173
web
Sources
- CVE List CVE-2025-21173
- NVD CVE-2025-21173
- OSV BIT-dotnet-2025-21173
- OSV BIT-dotnet-sdk-2025-21173
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.