Creation of temporary file in directory with insecure permissions in Microsoft products - CVE-2025-21173
Published: January 15, 2025
Vulnerability identifier: #VU102800
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-21173
CWE-ID: CWE-379
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Microsoft
Affected software:
.NET
.NET for Linux
Visual Studio
.NET
.NET for Linux
Visual Studio
Detailed vulnerability description
The vulnerability allows a local user to escalate privilege on the target system.
The vulnerability exists due to creation of temporary file in directory with insecure permissions in .NET. A local user can overwrite arbitrary file content and gain elevated privileges on the system.
How to mitigate CVE-2025-21173
Install updates from vendor's website.