.NET Remote Code Execution Vulnerability
Date: 2022-12
Affected: nuget/Microsoft.WindowsDesktop.App.Runtime.win-x64, nuget/Microsoft.WindowsDesktop.App.Runtime.win-x86, nuget/Microsoft.WindowsDesktop.App.Runtime.win-arm64
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2022-41089
CWE: CWE-94
CVSS: 8.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)

# Microsoft Security Advisory CVE-2022-41089: .NET Remote Code Execution Vulnerability ## <a name="executive-summary"></a>Executive summary Microsoft is releasing this security advisory to provide information about a vulnerability in .NET Core 3.1, .NET 6.0., and .NET 7.0. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability. A remote code execution vulnerability exists in .NET Core 3.1, .NET 6.0, and .NET 7.0, where a malicious actor could cause a user to run arbitrary code as a result of parsing maliciously crafted xps files. ## Announcement Announcement for this issue can be found at https://github.com/dotnet/announcements/issues/242 ### <a name="mitigation-factors"></a>Mitigation factors Microsoft has not identified any mitigating factors for this vulnerability. ## <a name="affected-software"></a>Affected software * Any .NET 7.0 WinForms or WPF application running on .NET 7.0.0 or earlier. * Any .NET 6.0 WinForms or WPF application running on .NET 6.0.11 or earlier. * Any .NET Core 3.1 WinForms or WPF application running on .NET 3.1.31 or earlier. If the application does not utilize WinForms or WPF, it is not affected by this vulnerability. Applications targeting Mac, Linux, Android, iOS, and other non-Windows platforms are not affected by this vulnerability. If your application uses the following package versions, ensure you update to the latest version of .NET. ### <a name=".NET Core 3.1"><


Mitigations:

Architectural layers (MAESTRO):