CVE-2025-21172: .NET and Visual Studio Remote Code Execution Vulnerability

Overview

Severity
High (CVSS 7.5)
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Category
Remote Code Execution
Exploit Status
Not Exploited
Exploitation Likelihood
Less Likely
Patch Tuesday
2025-Jan
Released
2025-01-14
Last Updated
2025-02-11
EPSS Score
0.43% (percentile: 62.7%)

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of this vulnerability requires that an attacker convinces a user to open a maliciously crafted package file in Visual Studio. According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to gather information specific to the environment of the targeted component.

Affected Products (13)

Developer Tools

  • Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)
  • Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)
  • Microsoft Visual Studio 2022 version 17.6
  • Microsoft Visual Studio 2022 version 17.8
  • Microsoft Visual Studio 2022 version 17.10
  • Microsoft Visual Studio 2015 Update 3
  • Microsoft Visual Studio 2022 version 17.12
  • .NET 8.0 installed on Windows
  • .NET 8.0 installed on Linux
  • .NET 8.0 installed on Mac OS
  • .NET 9.0 installed on Mac OS
  • .NET 9.0 installed on Linux
  • .NET 9.0 installed on Windows

Security Updates (9)

Acknowledgments

<a href="https://infosec.exchange/@ynwarcs">goodbyeselene</a>

Revision History

  • 2025-01-14: Information published.
  • 2025-02-11: In the Security Updates table, added Visual Studio 2015 Update 3, as this version of Visual Studio is also affected by this vulnerability. Microsoft recommends that customers running Visual Studio 2015 Update 3 install the update to be fully protected from the vulnerability. Customers whose systems are configured to receive automatic updates do not need to take any further action.