CVE-2025-21173 Details
Description
.NET Elevation of Privilege Vulnerability
A vulnerability allowing elevation of privilege has been identified in the .NET Runtime, specifically in versions 6.0.0 prior to 6.0.36, 8.0.0 through 8.0.11, and 9.0.0 prior to 9.0.1, when installed on Linux. This vulnerability arises from the creation of temporary files in directories with insecure permissions, which can be exploited by attackers to overwrite arbitrary file content in the security context of the local system.
Users can upgrade to .NET 8.0.12 or .NET 9.0.1. For applications deployed with .NET 6.0, which is no longer supported, a commercial support partner like HeroDevs can be consulted for post-EOL security support.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.herodevs.com/vulnerability-directory/cve-2025-21173 | CVE | |
| https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21173 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-379 | Creation of Temporary File in Directory with Insecure Permissions | [email protected] |
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| microsoft visual studio 2022 | >= 17.6.0, < 17.6.22 >= 17.8.0, < 17.8.17 >= 17.10.0, < 17.10.10 >= 17.12.0, < 17.12.4 |
CPE
Remediation
| |
| microsoft .net | 8.0.0 9.0.0 |
CPE
Remediation
| |
| linux linux kernel | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 6, 2025 | CVE Modified | CVE |
| Feb 5, 2025 | Initial Analysis | [email protected] |
| Jan 14, 2025 | CVE Modified | [email protected] |
| Jan 14, 2025 | New CVE Received | [email protected] |