CVE-2022-24512

.NET and Visual Studio Remote Code Execution Vulnerability

State
Published
Severity
6.3 Medium
Published
Mar 9, 2022
Updated
May 27, 2026
Reserved
Feb 5, 2022

Read the record on cve.org

Description

.NET and Visual Studio Remote Code Execution Vulnerability

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:U/RL:O/RC:Cmicrosoft

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
Microsoft Visual Studio 2019 version 16.7 (includes 16.0 – 16.6)Microsoft
  • 16.0.0 to before 16.7.26Affected
Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)Microsoft
  • 15.0.0 to before 16.9.18Affected
Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)Microsoft
  • 16.11.0 to before 16.11.11Affected
Microsoft Visual Studio 2022 version 17.0Microsoft
  • 17.0.0 to before 17.0.7Affected
.NET 5.0Microsoft
  • 5.0.0 to before 5.0.15Affected
.NET 6.0Microsoft
  • 6.0.0 to before 6.0.3Affected
.NET Core 3.1Microsoft
  • 3.1 to before 3.1.23Affected
PowerShell 7.2Microsoft
  • 7.2.0 to before 7.2.2Affected
PowerShell 7.0Microsoft
  • 7.0.0 to before 7.0.9Affected
PowerShell 7.1Microsoft
  • 7.1.0 to before 7.1.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.