# CVE-2020-1147: .NET Framework, SharePoint Server, and Visual Studio Remote Code Execution Vulnerability

Source: https://junglewise.ai/threats/cve-2020-1147-microsoft-net-framework-sharepoint-and-visual-studio-remote-code  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2020-1147 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2022-05-24

A remote code execution vulnerability exists in Microsoft .NET Framework, SharePoint, and Visual Studio due to improper validation of source markup in XML file input. An attacker can exploit this by providing malicious XML content, leading to code execution during the deserialization process.

Technologies: [Microsoft .NET Framework](https://junglewise.ai/threats/technologies/net-framework), [Microsoft SharePoint](https://junglewise.ai/threats/technologies/sharepoint), [Microsoft Visual Studio](https://junglewise.ai/threats/technologies/visual-studio), [Microsoft.NETCore.App (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app), [Microsoft.NetCore.App.Runtime.linux-arm (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-linux-arm), [Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-linux-arm64), [Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-linux-musl-arm64), [Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-linux-musl-x64), [Microsoft.NetCore.App.Runtime.linux-x64 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-linux-x64), [Microsoft.NetCore.App.Runtime.osx-x64 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-osx-x64), [Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-rhel-6-x64), [Microsoft.NetCore.App.Runtime.win-arm (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-win-arm), [Microsoft.NetCore.App.Runtime.win-arm64 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-win-arm64), [Microsoft.NetCore.App.Runtime.win-x64 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-win-x64), [Microsoft.NetCore.App.Runtime.win-x86 (NuGet)](https://junglewise.ai/threats/technologies/microsoft-netcore-app-runtime-win-x86). Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft), [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

**Is CVE-2020-1147 exploited in the wild?** Yes. CVE-2020-1147 is known to be exploited in the wild, first recorded on 3 November 2021. Treat it as urgent.

**How severe is CVE-2020-1147?** Critical severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** Microsoft.NETCore.App (NuGet) ECOSYSTEM:introduced=2.1.0,fixed=2.1.20; Microsoft.NetCore.App.Runtime.linux-arm (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.6; Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.6; Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet) ECOSYSTEM:introduced=3.1.0,fixed=3.1.6; and 8 more.

**Is there a fix for CVE-2020-1147?** Yes. Microsoft.NETCore.App (NuGet): upgrade to 2.1.20 or later; Microsoft.NetCore.App.Runtime.linux-arm (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): upgrade to 3.1.6 or later; Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.win-arm (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.win-x64 (NuGet): upgrade to 3.1.6 or later; Microsoft.NetCore.App.Runtime.win-x86 (NuGet): upgrade to 3.1.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2020-1147 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2020-1147?** Check whether you run Microsoft .NET Framework, Microsoft SharePoint, Microsoft Visual Studio or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Microsoft.NETCore.App (NuGet): upgrade to 2.1.20 or later

  ```sh
  dotnet add package Microsoft.NETCore.App --version 2.1.20
  ```

- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.linux-arm --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.linux-arm64 --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.linux-musl-arm64 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-arm64 --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.linux-musl-x64 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.linux-musl-x64 --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.linux-x64 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.linux-x64 --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.osx-x64 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.osx-x64 --version 3.1.6
  ```

- Microsoft.NETCore.App.Runtime.rhel.6-x64 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NETCore.App.Runtime.rhel.6-x64 --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.win-arm (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.win-arm --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.win-arm64 --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.win-x64 --version 3.1.6
  ```

- Microsoft.NetCore.App.Runtime.win-x86 (NuGet): upgrade to 3.1.6 or later

  ```sh
  dotnet add package Microsoft.NetCore.App.Runtime.win-x86 --version 3.1.6
  ```


## Affected products

- Microsoft .NET Framework
- Microsoft SharePoint
- Microsoft Visual Studio

## Identifiers

- CVE-2020-1147
- GHSA-g5vf-38cp-4px9

## Timeline

- 2020-07-14: advisory: MSRC security guidance published.
- 2021-11-03: kev added: Added to CISA Known Exploited Vulnerabilities Catalog.
- 2021-11-03: disclosed: Publicly disclosed date per advisory metadata.

## Related threats

- [Microsoft Visual Studio heap buffer overflow RCE](https://junglewise.ai/threats/duplicate-advisory-microsoft-security-advisory-visual-studio-remote-224be73b)
- [Microsoft Visual Studio heap-based buffer overflow](https://junglewise.ai/threats/duplicate-advisory-microsoft-security-advisory-visual-studio-remote-6a4b9d28)
- [Microsoft Visual Studio deserialization remote code execution](https://junglewise.ai/threats/duplicate-advisory-microsoft-security-advisory-visual-studio-remote-1eb2f932)
- [Microsoft Visual Studio heap-based buffer overflow](https://junglewise.ai/threats/duplicate-advisory-microsoft-security-advisory-visual-studio-remote-ba83a5c9)
- [Microsoft Visual Studio stack-based buffer overflow](https://junglewise.ai/threats/duplicate-advisory-microsoft-security-advisory-visual-studio-remote-d956164d)
