.NET and Visual Studio Remote Code Execution Vulnerability
Released: Feb 14, 2023
Last updated: Jun 30, 2023
- Assigning CNA
- Microsoft
- CVE.org link
- CVE-2023-21808
- Impact
- Remote Code Execution
- Max Severity
- Important
- 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 metrics, there are multiple scores. Why does the CVE have different scores and different severities for different products?
There are different scores depending on the product due to the way symbols are read and parsed. Visual Studio has the ability to automatically query symbol servers while .NET only uses symbols present on the disk, requiring the user to manually query the symbol.
Acknowledgements
- goodbyeselene
Security Updates
To determine the support lifecycle for your software, see the Microsoft Support Lifecycle.
- 12.0.40700.0
- 14.0.27555.0
- 10.0.04614.06
- 10.0.14393.5717
- 10.0.04614.05
- 10.0.14393.5717
- 10.0.04614.05
- 10.0.04614.05
- 10.0.04614.06
- 10.0.14393.5717
- 10.0.04614.06
- 10.0.09139.02
- 10.0.04614.05
- 10.0.14393.5717
- 4.8.04614.05
- 4.8.04614.03
- 10.0.04614.06
- 10.0.04614.06
- 4.8.4614.08
- 4.8.4614.07
- 10.0.10240.19747
- 10.0.10240.19747
- 4.7.04038.06
- 4.7.4038.05
- 4.7.04038.06
- 4.7.4038.05
- 4.7.04038.06
- 4.7.4038.05
- 4.7.04038.06
- 4.7.4038.05
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 10.0.09139.02
- 4.8.04614.05
- 4.8.04614.03
- 4.7.04614.08
- 4.7.04038.05
Disclaimer
Revisions
To address a known issue when after installing the February 14, 2023, security updates for .NET Framework and .NET, users may have experienced issues with how WPF-based applications render XPS documents, Microsoft has released the June 2023 security updates for .NET Framework and for .NET. We recommend that customers install the June 2023 updates. Please note that if you used any workaround or mitigations for this issue, they are no longer needed, and we recommend you remove them. To remove either of the workarounds see the instructions for removal in the "Alternative Workaround" section of KB5022083 Change in how WPF-based applications render XPS documents.
In the Security Updates table, added Visual Studio 2013 Update 5 and Visual Studio 2015 Update 3 as they are affected by this vulnerability. Microsoft strongly recommends that customers install the updates to be fully protected from the vulnerability.
Microsoft has rereleased KB5022498 to address a known issue where customers who installed the .NET Framework 4.8 February cumulative update (KB5022502), then updgraded to .NET Framework 4.8.1 and subsequently scanned for updates were unable to install KB5022498. Customers who were unable to install KB5022498 should rescan for updates and install the update. Customers who have already successfully installed KB5022498 do not need to take any further action.
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/38 for more information.
Information published.