CVE-2025-21171
.NET Remote Code Execution Vulnerability
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
.NET Remote Code Execution Vulnerability
A remote code execution vulnerability was found in .NET. This flaw allows an attacker to load a specially crafted file into a vulnerable application.
It was discovered that .NET did not properly handle input provided to its Convert.TryToHexString method. An attacker could possibly use this issue to execute arbitrary code. It was discovered that .NET did not properly handle an integer overflow when processing certain specially crafted files. An attacker could possibly use this issue to execute arbitrary code. Daniel Plaisted and Noah Gilson discovered that .NET insecurely handled temporary file usage which could result in malicious package dependency injection. An attacker could possibly use this issue to elevate privileges.
CVSS Scores
SSVC
- Decision:Track*
Timeline
- 2024-12-05 CVE Reserved
- 2025-01-14 CVE Published
- 2025-01-15 EPSS Updated
- 2025-01-31 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-122: Heap-based Buffer Overflow
CAPEC
References (3)
URL | Tag | Source |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21171 | 2025-01-14 | |
https://access.redhat.com/security/cve/CVE-2025-21171 | 2025-01-16 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2337958 | 2025-01-16 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Microsoft Search vendor "Microsoft" | PowerShell 7.5 Search vendor "Microsoft" for product "PowerShell 7.5" | 7.5.0 Search vendor "Microsoft" for product "PowerShell 7.5" and version "7.5.0" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | .NET 9.0 Search vendor "Microsoft" for product ".NET 9.0" | >= 9.0.0 < 9.0.1 Search vendor "Microsoft" for product ".NET 9.0" and version " >= 9.0.0 < 9.0.1" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | Microsoft Visual Studio 2022 Version 17.12 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.12" | >= 17.0.0 < 17.12.4 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.12" and version " >= 17.0.0 < 17.12.4" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | Microsoft Visual Studio 2022 Version 17.6 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.6" | >= 17.6.0 < 17.6.22 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.6" and version " >= 17.6.0 < 17.6.22" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | Microsoft Visual Studio 2022 Version 17.8 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.8" | >= 17.8.0 < 17.8.17 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.8" and version " >= 17.8.0 < 17.8.17" | en |
Affected
| ||||||
Microsoft Search vendor "Microsoft" | Microsoft Visual Studio 2022 Version 17.10 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.10" | >= 17.10.0 < 17.10.10 Search vendor "Microsoft" for product "Microsoft Visual Studio 2022 Version 17.10" and version " >= 17.10.0 < 17.10.10" | en |
Affected
|