Multiple vulnerabilities in Microsoft .NET



| Updated: 2025-03-10
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2025-21173
CVE-2025-21171
CWE-ID CWE-379
CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
.NET
Other software / Other software solutions

.NET for Linux
Universal components / Libraries / Software for developers

Visual Studio
Universal components / Libraries / Software for developers

.NET for macOS
Universal components / Libraries / Software for developers

PowerShell for Linux
Universal components / Libraries / Software for developers

PowerShell for macOS
Universal components / Libraries / Software for developers

PowerShell
Client/Desktop applications / Software for system administration

Vendor Microsoft

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Creation of temporary file in directory with insecure permissions

EUVDB-ID: #VU102800

Risk: Low

CVSSv4.0: 4 [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 - Creation of Temporary File in Directory with Insecure Permissions

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

.NET: 8.0.0 - 9.0.0

.NET for Linux: 8.0.0 - 9.0.0

Visual Studio: 17.1.0 17.1.32210.238 - 17.10.9 17.10.35431.56

CPE2.3 External links

https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2025-21173


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Heap-based buffer overflow

EUVDB-ID: #VU102801

Risk: Medium

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-21171

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in .NET. A remote attacker can pass specially crafted data to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

.NET for Linux: 9.0.0

.NET for macOS: 9.0.0

.NET: 9.0 - 9.0.0

Visual Studio: 17.1.0 17.1.32210.238 - 17.10.9 17.10.35431.56

PowerShell: before 7.5.0

PowerShell for Linux: before 7.5.0 7.5.0

PowerShell for macOS: before 7.5.0 7.5.0

CPE2.3 External links

https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2025-21171


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###