CVE-2025-21171: .NET Remote Code Execution Vulnerability

Published Jan 14, 2025
·
Updated

.NET Remote Code Execution Vulnerability

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

31 affected componentsFixes available
nuget/Microsoft.NetCore.App.Runtime.win-x86>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.win-x64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.win-arm64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.win-arm>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.osx-x64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.osx-arm64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-x64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-arm64>=9.0.0<9.0.1
9.0.1
nuget/Microsoft.NetCore.App.Runtime.linux-arm>=9.0.0<9.0.1
9.0.1
Microsoft PowerShell 7.5 installed on Linux
Microsoft PowerShell 7.5 installed on Windows
Microsoft PowerShell 7.5 installed on MacOS
Microsoft .NET 9.0 installed on Mac OS
Microsoft .NET 9.0 installed on Linux
Microsoft .NET 9.0 installed on Windows
Microsoft Visual Studio 2022=17.10
Microsoft Visual Studio 2022=17.12
Microsoft Visual Studio 2022=17.6
Microsoft Visual Studio 2022=17.8
All of the following
Any of the following
Microsoft .NET=9.0.0
Microsoft PowerShell=7.5
Any of the following
Apple macOS
Linux Linux kernel
Microsoft Windows
Microsoft Visual Studio 2022>=17.6.0<17.6.22
Microsoft Visual Studio 2022>=17.8.0<17.8.17
Microsoft Visual Studio 2022>=17.10.0<17.10.10
Microsoft Visual Studio 2022>=17.12.0<17.12.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-x86 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  2. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-x64 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  3. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-arm64 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  4. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.win-arm to a version that resolves this vulnerability.

    Fixed in 9.0.1
  5. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.osx-x64 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  6. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.osx-arm64 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  7. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-x64 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  8. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  9. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  10. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm to a version that resolves this vulnerability.

    Fixed in 9.0.1
  11. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-arm64 to a version that resolves this vulnerability.

    Fixed in 9.0.1
  12. Upgrade

    Upgrade nuget/Microsoft.NetCore.App.Runtime.linux-arm to a version that resolves this vulnerability.

    Fixed in 9.0.1
  13. Upgrade

    Upgrade Microsoft .NET 9.0 Runtime/SDK to a version that resolves this vulnerability.

    Fixed in 9.0.1Patch CVE-2025-21171
  14. Upgrade

    Upgrade Microsoft.NetCore.App.Runtime (RID osx-arm64 shown) to a version that resolves this vulnerability.

    Fixed in 9.0.1Patch CVE-2025-21171
  15. Operational

    After installing the updated .NET 9.0 runtime or SDK, restart your apps for the update to take effect.

  16. Operational

    For self-contained applications targeting impacted versions, recompile and redeploy the applications after installing the updated .NET 9.0 runtime or SDK.

Event History

Jan 14, 2025
CVE Published
via Microsoft·08:00 AM
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
CVE Published
via MITRE·06:03 PM
Data Sourced
via MITRE·06:03 PM
DescriptionSeverity
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
Affected Software
Data Sourced
via Red Hat·07:10 PM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·07:43 PM
Jan 16, 2025
Data Sourced
via Ubuntu·03:10 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·03:11 PM
DescriptionAffected Software
Data Sourced
via Launchpad·03:11 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-21171?

CVE-2025-21171 is classified as a remote code execution vulnerability that can lead to significant security risks.

2

How do I fix CVE-2025-21171?

To resolve CVE-2025-21171, you should update to the latest patched version of Visual Studio 2022 or .NET 9.0 depending on your installation.

3

Which versions are affected by CVE-2025-21171?

CVE-2025-21171 affects specific versions of Visual Studio 2022 (17.6, 17.10, 17.12, 17.8) and .NET 9.0 on Windows, Mac, and Linux.

4

What are the potential impacts of CVE-2025-21171?

Exploitation of CVE-2025-21171 may allow an attacker to execute arbitrary code on the affected system.

5

Is there a workaround for CVE-2025-21171?

There are currently no specific workarounds for CVE-2025-21171; applying the latest security updates is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203