CVE
CVE-2025-21173
published high CVSS 3.1 · 7.3.NET Elevation of Privilege Vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Microsoft | — | .NET 8.08.0.0 to < 8.0.12 | Affected | Not stated | microsoft |
| Microsoft | — | .NET 9.09.0.0 to < 9.0.1 | Affected | Not stated | microsoft |
| Microsoft | — | Microsoft Visual Studio 2022 version 17.1017.10.0 to < 17.10.10 | Affected | Not stated | microsoft |
| Microsoft | — | Microsoft Visual Studio 2022 version 17.1217.12.0 to < 17.12.4 | Affected | Not stated | microsoft |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-844 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | aspnetcore-runtime-8.0 | Advisory build | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| Alpine Linux | v3.20 | dotnet8-runtime | Fixed | 8.0.12-r0 | Package fix record |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Microsoft | — | Microsoft Visual Studio 2022 version 17.617.6.0 to < 17.6.22 | Affected | Not stated | microsoft |
| Microsoft | — | Microsoft Visual Studio 2022 version 17.817.8.0 to < 17.8.17 | Affected | Not stated | microsoft |
| Oracle Linux | 8 | aspnetcore-runtime-8.0aarch64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Red Hat Enterprise Linux | RHEL-8 | aspnetcore-runtime-8.0aarch64 | Advisory build | 8.0.12-1.el8_10 | RHSA-2025:0381 |
| AlmaLinux | 8 | aspnetcore-runtime-9.0 | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | aspnetcore-runtime-dbg-8.0 | Advisory build | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | aspnetcore-runtime-dbg-9.0 | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | aspnetcore-targeting-pack-8.0 | Advisory build | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | aspnetcore-targeting-pack-9.0 | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet | Advisory build | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-apphost-pack-8.0 | Advisory build | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-apphost-pack-9.0 | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-host | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-hostfxr-8.0 | Advisory build | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-hostfxr-9.0 | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-runtime-8.0 | Advisory build | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-runtime-9.0 | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-runtime-dbg-8.0 | Advisory build | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-runtime-dbg-9.0 | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-sdk-8.0 | Advisory build | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-sdk-8.0-source-built-artifacts | Advisory build | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-sdk-9.0 | Advisory build | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-sdk-9.0-source-built-artifacts | Advisory build | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-sdk-aot-9.0 | Advisory build | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-sdk-dbg-8.0 | Advisory build | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-sdk-dbg-9.0 | Advisory build | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-targeting-pack-8.0 | Advisory build | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-targeting-pack-9.0 | Advisory build | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-templates-8.0 | Advisory build | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-templates-9.0 | Advisory build | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | netstandard-targeting-pack-2.1 | Advisory build | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| Alpine Linux | v3.21 | dotnet8-runtime | Fixed | 8.0.12-r0 | Package fix record |
| Alpine Linux | v3.21 | dotnet9-runtime | Fixed | 9.0.1-r0 | Package fix record |
| Alpine Linux | v3.22 | dotnet8-runtime | Fixed | 8.0.12-r0 | Package fix record |
| Alpine Linux | v3.22 | dotnet9-runtime | Fixed | 9.0.1-r0 | Package fix record |
| Alpine Linux | v3.23 | dotnet8-runtime | Fixed | 8.0.12-r0 | Package fix record |
| Alpine Linux | v3.23 | dotnet9-runtime | Fixed | 9.0.1-r0 | Package fix record |
| Alpine Linux | v3.24 | dotnet8-runtime | Fixed | 8.0.12-r0 | Package fix record |
| Alpine Linux | v3.24 | dotnet9-runtime | Fixed | 9.0.1-r0 | Package fix record |
| Oracle Linux | 8 | aspnetcore-runtime-8.0x86_64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | aspnetcore-runtime-9.0aarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | aspnetcore-runtime-9.0x86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | aspnetcore-runtime-dbg-8.0aarch64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | aspnetcore-runtime-dbg-8.0x86_64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | aspnetcore-runtime-dbg-9.0aarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | aspnetcore-runtime-dbg-9.0x86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | aspnetcore-targeting-pack-8.0aarch64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | aspnetcore-targeting-pack-8.0x86_64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | aspnetcore-targeting-pack-9.0aarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | aspnetcore-targeting-pack-9.0x86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnetaarch64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnetx86_64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-apphost-pack-8.0aarch64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-apphost-pack-8.0x86_64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-apphost-pack-9.0aarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-apphost-pack-9.0x86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-hostaarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-hostx86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-hostfxr-8.0aarch64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-hostfxr-8.0x86_64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-hostfxr-9.0aarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-hostfxr-9.0x86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-runtime-8.0aarch64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-runtime-8.0x86_64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-runtime-9.0aarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-runtime-9.0x86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-runtime-dbg-8.0aarch64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-runtime-dbg-8.0x86_64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-runtime-dbg-9.0aarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-runtime-dbg-9.0x86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-sdk-8.0aarch64 | Advisory build | 0:8.0.112-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-sdk-8.0x86_64 | Advisory build | 0:8.0.112-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-sdk-8.0-source-built-artifactsaarch64 | Advisory build | 0:8.0.112-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-sdk-8.0-source-built-artifactsx86_64 | Advisory build | 0:8.0.112-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-sdk-9.0aarch64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-sdk-9.0x86_64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-sdk-9.0-source-built-artifactsaarch64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-sdk-9.0-source-built-artifactsx86_64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-sdk-aot-9.0aarch64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-sdk-aot-9.0x86_64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-sdk-dbg-8.0aarch64 | Advisory build | 0:8.0.112-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-sdk-dbg-8.0x86_64 | Advisory build | 0:8.0.112-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-sdk-dbg-9.0aarch64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-sdk-dbg-9.0x86_64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-targeting-pack-8.0aarch64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-targeting-pack-8.0x86_64 | Advisory build | 0:8.0.12-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-targeting-pack-9.0aarch64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-targeting-pack-9.0x86_64 | Advisory build | 0:9.0.1-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-templates-8.0aarch64 | Advisory build | 0:8.0.112-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-templates-8.0x86_64 | Advisory build | 0:8.0.112-1.0.1.el8_10 | ELSA-2025-0381 |
| Oracle Linux | 8 | dotnet-templates-9.0aarch64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | dotnet-templates-9.0x86_64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | netstandard-targeting-pack-2.1aarch64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Oracle Linux | 8 | netstandard-targeting-pack-2.1x86_64 | Advisory build | 0:9.0.102-1.0.1.el8_10 | ELSA-2025-0382 |
| Red Hat Enterprise Linux | RHEL-8 | aspnetcore-runtime-8.0ppc64le | Advisory build | 8.0.12-1.el8_10 | RHSA-2025:0381 |
| Red Hat Enterprise Linux | RHEL-8 | aspnetcore-runtime-8.0s390x | Advisory build | 8.0.12-1.el8_10 | RHSA-2025:0381 |
| Red Hat Enterprise Linux | RHEL-8 | aspnetcore-runtime-8.0x86_64 | Advisory build | 8.0.12-1.el8_10 | RHSA-2025:0381 |
| Red Hat Enterprise Linux | RHEL-8 | aspnetcore-runtime-9.0aarch64 | Advisory build | 9.0.1-1.el8_10 | RHSA-2025:0382 |
| Red Hat Enterprise Linux | RHEL-8 | aspnetcore-runtime-9.0ppc64le | Advisory build | 9.0.1-1.el8_10 | RHSA-2025:0382 |
| Red Hat Enterprise Linux | RHEL-8 | aspnetcore-runtime-9.0s390x | Advisory build | 9.0.1-1.el8_10 | RHSA-2025:0382 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
.NET Elevation of Privilege Vulnerability
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- microsoft · cna
- Vector string
- 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
- Scenarios
- en-US: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Microsoft | .NET 8.0 | 8.0.0 to < 8.0.12 (affected · custom) | microsoft · cna |
| Microsoft | .NET 9.0 | 9.0.0 to < 9.0.1 (affected · custom) | microsoft · cna |
| Microsoft | Microsoft Visual Studio 2022 version 17.10 | 17.10.0 to < 17.10.10 (affected · custom) | microsoft · cna |
| Microsoft | Microsoft Visual Studio 2022 version 17.12 | 17.12.0 to < 17.12.4 (affected · custom) | microsoft · cna |
| Microsoft | Microsoft Visual Studio 2022 version 17.6 | 17.6.0 to < 17.6.22 (affected · custom) | microsoft · cna |
| Microsoft | Microsoft Visual Studio 2022 version 17.8 | 17.8.0 to < 17.8.17 (affected · custom) | microsoft · cna |
Weaknesses
1- CWE-379 CWE-379: Creation of Temporary File in Directory with Insecure Permissions
References
2- .NET Elevation of Privilege Vulnerability https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21173
- https://www.herodevs.com/vulnerability-directory/cve-2025-21173
Provider assertions
3microsoft · cna
.NET Elevation of Privilege Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c73409f0a15afc2d1c4e7aa3e1e2a90636b28932f15f28c9cae3b2f01bb41724
- Ingested
- 23 Sep 2026, 08:39:28 UTC
- Source record
- Official CVE record