Visual Studio Remote Code Execution Vulnerability
Released: Sep 12, 2023
Last updated: Dec 12, 2023
- Assigning CNA
- Microsoft
- CVE.org link
- CVE-2023-36793
- Impact
- Remote Code Execution
- Max Severity
- Critical
- Weakness
- CVSS Source
- Microsoft
- Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- Metrics
- CVSS:3.1 7.8 / 6.8Base score metrics: 7.8 / Temporal score metrics: 6.8
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Exploit Code Maturity
Unproven
Remediation Level
Official Fix
Report Confidence
Confirmed
Please see Common Vulnerability Scoring System for more information on the definition of these metrics.
Exploitability
The following table provides an exploitability assessment for this vulnerability at the time of original publication.
- Publicly disclosed
- No
- Exploited
- No
- Exploitability assessment
- Exploitation Less Likely
FAQ
According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution?
The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.
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.
Acknowledgements
- goodbyeselene
Security Updates
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle.
- 3.0.30729.8957
- 4.7.04063.01
- 4.8.04667.02
- 10.0.10240.20162
- 10.0.10240.20162
- 10.0.14393.6252
- 10.0.14393.6252
- 10.0.14393.6252
- 10.0.14393.6252
- 4.8.04667.03
- 4.8.04667.03
- 3.0.30729.8957
- 3.0.30729.8957
- 3.0.30729.8957
- 3.0.30729.8957
- 3.0.30729.8957
- 3.0.30729.8957
- 3.0.30729.8957
- 3.0.30729.8957
- 3.0.30729.8957
- 4.8.09186.0
- 4.7.04063.01
- 4.7.04063.01
- 4.7.04063.01
- 4.7.04063.01
- 4.8.09186.01
- 4.8.09186.0
- 4.8.09186.01
- 4.8.09186.01
- 4.8.09186.01
- 4.8.09186.01
- 4.8.09186.01
- 4.8.09186.01
- 4.8.09186.01
- 4.7.04063.01
- 4.8.09186.01
- 4.8.04667.02
- 4.8.09186.01
- 4.7.04063.02
Disclaimer
Revisions
Microsoft is rereleasing KB5029365 to address the following known issue: Customers who are using Microsoft Visual Studio 2013 Update 5 might receive a "C2471" error after attempting to compile a build that has precompiled headers (PCH) that use the /Gm and /ZI (Edit and Continue) switches. Microsoft recommends that customers install the update and remove any workarounds that were applied. For more information see KB5029365.
Microsoft is rereleasing KB5029366 to address the following known issue: Customers who are using Microsoft Visual Studio 2015 Update 3 might receive a "C2471" error after attempting to compile a build that has precompiled headers (PCH) that use the /Gm and /ZI (Edit and Continue) switches. Microsoft recommends that customers install the update and remove any workarounds that were applied. For more information see KB5029366.
Corrected Download and Article links in the Security Updates table. This is an informational change only.
To comprehensively address this vulnerability, Microsoft has released security updates on October 24, 2023 for all affected versions of .NET and Microsoft Visual Studio. Microsoft recommends that customers install the updates to be fully protected from the vulnerability.
In the Security Updates table, added .NET Framework 3.5 and 4.6.2 installed on Windows 10 for 32-bit systems and Windows 10 for x64-based systems; added .NET Framework 3.5 and 4.6.2/4.7./4.7.1/4.7.2 installed on all supported editions of Windows 10 version 1607 and Windows Server 2016 as these versions of .NET Framework are affected by this vulnerability. Microsoft recommends that customers install the September 2023 updates to be fully protected from this vulnerability. Customers whose systems are configured to receive automatic updates do not need to take any further action.
In the Security Updates table, added Microsoft Visual Studio 2013 Update 5 and Visual Studio 2015 Update 3 as these versions of Visual Studio are also affected by the vulnerability. Microsoft recommends that customers running any of these products install the updates to be fully protected from the vulnerability.
In the Security Update table, corrected Article links for Microsoft .NET Framework 3.5 AND 4.8.1 installed on Windows 11 Version 22H2 for x64-based Systems and Windows 11 Version 22H2 for ARM64-based Systems. This is an informational change only.
Revised the Security Updates table to include PowerShell 7.2 because this version of PowerShell 7 is affected by this vulnerability. See https://github.com/PowerShell/Announcements/issues/50 for more information.
Information published.