CVSS 3.1
7.3 highCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HHigh (7.3) in microsoft. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HExplain CVE-2025-21173 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-21173?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-21173?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-21173 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Microsoft .NET 8.0 | from 8.0.0 before 8.0.12 |
| Microsoft .NET 9.0 | from 9.0.0 before 9.0.1 |
| Microsoft Visual Studio 2022 version 17.10 | from 17.10.0 before 17.10.10 |
| Microsoft Visual Studio 2022 version 17.12 | from 17.12.0 before 17.12.4 |
| Microsoft Visual Studio 2022 version 17.6 | from 17.6.0 before 17.6.22 |
| Microsoft Visual Studio 2022 version 17.8 | from 17.8.0 before 17.8.17 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 22.04:LTS | dotnet6, dotnet7 | no fix listed | UBUNTU-CVE-2025-21173 |
| Ubuntu | 22.04:LTS | dotnet8 | 8.0.112-8.0.12-0ubuntu1~22.04.1 | UBUNTU-CVE-2025-21173 USN-7210-1 |
| Ubuntu | 24.04:LTS | dotnet8 | 8.0.112-8.0.12-0ubuntu1~24.04.1 | UBUNTU-CVE-2025-21173 USN-7210-1 |
| Red Hat | enterprise_linux:8::appstream | dotnet, dotnet9.0, dotnet-sdk-9.0 and 8 more | 0:9.0.102-1.el8_10 | RHSA-2025:0382 |
| Red Hat | enterprise_linux:8::appstream | dotnet-host, dotnet-hostfxr-9.0, dotnet-runtime-9.0 and 10 more | 0:9.0.1-1.el8_10 | RHSA-2025:0382 |
| Red Hat | enterprise_linux:8::appstream | dotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 8 more | 0:8.0.12-1.el8_10 | RHSA-2025:0381 |
| Red Hat | enterprise_linux:8::appstream | dotnet8.0, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 4 more | 0:8.0.112-1.el8_10 | RHSA-2025:0381 |
| Red Hat | enterprise_linux:8::crb | dotnet-host-debuginfo, dotnet-hostfxr-9.0-debuginfo, dotnet-runtime-9.0-debuginfo and 1 more | 0:9.0.1-1.el8_10 | RHSA-2025:0382 |
| Red Hat | enterprise_linux:8::crb | dotnet-hostfxr-8.0-debuginfo, dotnet-runtime-8.0-debuginfo, dotnet-apphost-pack-8.0-debuginfo | 0:8.0.12-1.el8_10 | RHSA-2025:0381 |
| Red Hat | enterprise_linux:8::crb | dotnet8.0-debuginfo, dotnet8.0-debugsource, dotnet-sdk-8.0-debuginfo and 1 more | 0:8.0.112-1.el8_10 | RHSA-2025:0381 |
| Red Hat | enterprise_linux:8::crb | dotnet9.0-debuginfo, dotnet9.0-debugsource, dotnet-sdk-9.0-debuginfo and 2 more | 0:9.0.102-1.el8_10 | RHSA-2025:0382 |
| Red Hat | enterprise_linux:9::appstream | dotnet-host, dotnet-hostfxr-9.0, dotnet-runtime-9.0 and 10 more | 0:9.0.1-1.el9_5 | RHBA-2025:0305 |
| Red Hat | enterprise_linux:9::appstream | dotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 8 more | 0:8.0.12-1.el9_5 | RHBA-2025:0304 |
| Red Hat | enterprise_linux:9::appstream | dotnet8.0, dotnet-sdk-8.0, dotnet-sdk-dbg-8.0 and 4 more | 0:8.0.112-1.el9_5 | RHBA-2025:0304 |
| Red Hat | enterprise_linux:9::appstream | dotnet9.0, dotnet-sdk-9.0, dotnet-sdk-aot-9.0 and 7 more | 0:9.0.102-1.el9_5 | RHBA-2025:0305 |
| 8 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | dotnet, dotnet-sdk-9.0, dotnet-sdk-aot-9.0 and 4 more | 9.0.102-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-host, dotnet-hostfxr-9.0, dotnet-runtime-9.0 and 6 more | 9.0.1-1.el8_10 | ALSA-2025:0382 |
| AlmaLinux | 8 | dotnet-hostfxr-8.0, dotnet-runtime-8.0, aspnetcore-runtime-8.0 and 5 more | 8.0.12-1.el8_10 | ALSA-2025:0381 |
| AlmaLinux | 8 | dotnet-sdk-8.0, dotnet-sdk-dbg-8.0, dotnet-templates-8.0 and 1 more | 8.0.112-1.el8_10 | ALSA-2025:0381 |
| Rocky Linux | 8 | dotnet8.0 | 0:8.0.112-1.el8_10 | RLSA-2025:0381 |
| Rocky Linux | 8 | dotnet9.0 | 0:9.0.102-1.el8_10 | RLSA-2025:0382 |
| Alpine | v3.20, v3.21, v3.22 and 2 more | dotnet8-runtime | 8.0.12-r0 | ALPINE-CVE-2025-21173 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | dotnet9-runtime | 9.0.1-r0 | ALPINE-CVE-2025-21173 |
| Alpaquita | stream | dotnet8-runtime | 8.0.12-r0 | BELL-CVE-2025-21173 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · Alpine · Alpaquita.
Red Hat rates this Important.
This vulnerability is rated with an Important severity because it allows an attacker to gain elevated privileges in the local system context. By exploiting this, an attacker can bypass standard user permissions, manipulate critical system files, execute arbitrary code, or install malicious software, potentially compromising the entire system.
```
.NET 6.0 for RHEL-8, RHEL-9 and RHIVOS has reached its End of Life as of November 12, 2024, and is no longer supported. No fixes will be provided for this stream. For additional information about lifecycle for .NET on Red Hat Enterprise Linux, please refer to: https://access.redhat.com/support/policy/updates/net-core.
```
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | dotnet8.0-0:8.0.112-1.el8_10 | Fixed 2025-01-16 | RHSA-2025:0381 |
| Red Hat Enterprise Linux 8 | dotnet9.0-0:9.0.102-1.el8_10 | Fixed 2025-01-16 | RHSA-2025:0382 |
| Red Hat Enterprise Linux 9 | dotnet8.0-0:8.0.112-1.el9_5 | Fixed 2025-01-14 | RHBA-2025:0304 |
| Red Hat Enterprise Linux 9 | dotnet9.0-0:9.0.102-1.el9_5 | Fixed 2025-01-14 | RHBA-2025:0305 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | dotnet8.0-0:8.0.112-1.el9_4 | Fixed 2025-01-21 | RHSA-2025:0532 |
| Red Hat Enterprise Linux 10 | dotnet8.0 | Not affected | |
| Red Hat Enterprise Linux 10 | dotnet9.0 | Not affected | |
| Red Hat Enterprise Linux 9 | dotnet6.0 | Out of support scope | |
| Red Hat Enterprise Linux 9 | dotnet7.0 | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-21173.