Live threats

All CVEs / Microsoft

CVE-2020-1147Microsoft .NET Framework, SharePoint, Visual Studio

Remote Code Execution in .NET Framework, SharePoint, and Visual Studio

High 7.8 KEV High EPSS

Priority
56
CVSS 3.1
7.8
EPSS
95.8%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
In KEV since
Nov 3, 2021
CISA deadline
May 3, 2022
Ransomware use
Unknown
Published
Jul 14, 2020
Updated
Jun 17, 2026
Category
Application · Windows
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

A remote code execution vulnerability affects .NET Framework, SharePoint, and Visual Studio when the software fails to validate XML file source markup. An attacker can execute code in the context of the deserialization process. CISA confirmed this vulnerability is actively exploited.

Show the original NVD text

A remote code execution vulnerability exists in .NET Framework, Microsoft SharePoint, and Visual Studio when the software fails to check the source markup of XML file input, aka '.NET Framework, SharePoint Server, and Visual Studio Remote Code Execution Vulnerability'.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

Microsoft .NET Framework, Microsoft SharePoint, and Visual Studio contain a remote code execution vulnerability when the software fails to check the source markup of XML file input. Successful exploitation allows an attacker to execute code in the context of the process responsible for deserialization of the XML content.

Action required by CISA: Apply updates per vendor instructions.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 2.1.20, 3.1.6

Update .NET Core to version 2.1.20 or 3.1.6, and .NET Framework according to Microsoft security guidance.

Vendor advisory · portal.msrc.microsoft.com ↗

  1. Apply the vendor's security update for .NET Framework, SharePoint, Visual Studio.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
  3. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet Microsoft.NETCore.App ≥ 2.1.0 < 2.1.20 2.1.20 dotnet add package Microsoft.NETCore.App --version 2.1.20
NuGet Microsoft.NETCore.App.Runtime.linux-arm ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.linux-arm --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.linux-arm64 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.linux-arm64 --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.linux-musl-arm64 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-arm64 --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.linux-musl-x64 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-x64 --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.linux-x64 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.linux-x64 --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.osx-x64 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.osx-x64 --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.rhel.6-x64 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.rhel.6-x64 --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.win-arm ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.win-arm --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.win-arm64 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.win-arm64 --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.win-x64 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.win-x64 --version 3.1.6
NuGet Microsoft.NETCore.App.Runtime.win-x86 ≥ 3.1.0 < 3.1.6 3.1.6 dotnet add package Microsoft.NETCore.App.Runtime.win-x86 --version 3.1.6

Per OSV / GitHub Advisories (GHSA-g5vf-38cp-4px9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
microsoft.net_core2.1
microsoft.net_core3.1
microsoft.net_framework2.0
microsoft.net_framework3.0
microsoft.net_framework3.5
microsoft.net_framework4.6.2
microsoft.net_framework4.7
microsoft.net_framework4.7.1
microsoft.net_framework4.7.2
microsoft.net_framework4.6
microsoft.net_framework4.6.1
microsoft.net_framework4.8
microsoft.net_framework3.5.1
microsoft.net_framework4.5.2
microsoftsharepoint_enterprise_server2013
microsoftsharepoint_enterprise_server2016
microsoftsharepoint_server2010
microsoftsharepoint_server2019
microsoftvisual_studio_2017≥ 15.0 ≤ 15.9
microsoftvisual_studio_2019≥ 16.0 ≤ 16.6

Official sources

References

Links published by the sources. Open them with care.