CVE-2020-1147 — Microsoft.NETCore.App
HIGHCVE-2020-1147 is a high-severity (CVSS 7.8) remote code execution vulnerability in Microsoft.NETCore.App. It is in CISA's Known Exploited Vulnerabilities catalog (added 2021-11-03) — treat it as actively exploited and patch now. A fix is available for Microsoft.NETCore.App — see the affected versions and patch details below.
.NET Framework, SharePoint Server, and Visual Studio Remote Code Execution Vulnerability
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2021-11-03. Federal agencies were required to remediate by 2022-05-03.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2020-1147.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-1147 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,415 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
Microsoft.NETCore.App.NETMicrosoft.NETCore.App.Runtime.linux-arm.NETMicrosoft.NETCore.App.Runtime.linux-arm64.NETMicrosoft.NETCore.App.Runtime.linux-musl-arm64.NETMicrosoft.NETCore.App.Runtime.linux-musl-x64.NETMicrosoft.NETCore.App.Runtime.linux-x64.NETMicrosoft.NETCore.App.Runtime.osx-x64.NETMicrosoft.NETCore.App.Runtime.rhel.6-x64+4 moreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.
Description
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'.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| .NETNuGet | Microsoft.NETCore.App | ≥ 2.1.0&&< 2.1.20 | 2.1.20dotnet add package Microsoft.NETCore.App --version 2.1.20 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-arm | ≥ 3.1.0&&< 3.1.6 | 3.1.6dotnet add package Microsoft.NETCore.App.Runtime.linux-arm --version 3.1.6 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-arm64 | ≥ 3.1.0&&< 3.1.6 | 3.1.6dotnet add package Microsoft.NETCore.App.Runtime.linux-arm64 --version 3.1.6 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-musl-arm64 | ≥ 3.1.0&&< 3.1.6 | 3.1.6dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-arm64 --version 3.1.6 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-musl-x64 | ≥ 3.1.0&&< 3.1.6 | 3.1.6dotnet add package Microsoft.NETCore.App.Runtime.linux-musl-x64 --version 3.1.6 |
| .NETNuGet | Microsoft.NETCore.App.Runtime.linux-x64 | ≥ 3.1.0&&< 3.1.6 | 3.1.6dotnet add package Microsoft.NETCore.App.Runtime.linux-x64 --version 3.1.6 |
Affected Products
.net coremicrosoft.net frameworkmicrosoftsharepoint enterprise servermicrosoftsharepoint servermicrosoftvisual studio 2017microsoftvisual studio 2019microsoftResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Microsoft SharePoint Server 2019 - Remote Code Execution (2)
by Podalirius · Jul 23, 2021
Microsoft SharePoint Server 2019 - Remote Code Execution
by West Shepherd · Aug 17, 2020
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Microsoft.NETCore.App, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update Microsoft.NETCore.App to 2.1.20 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-1147 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| .NET Core on Red Hat Enterprise Linux | rh-dotnet21-0:2.1-19.el7 | RHSA-2020:2937 |
| .NET Core on Red Hat Enterprise Linux | rh-dotnet31-dotnet-0:3.1.106-1.el7 | RHSA-2020:2939 |
| Red Hat Enterprise Linux 8 | dotnet-0:2.1.516-1.el8_2 | RHSA-2020:2938 |
| Red Hat Enterprise Linux 8 | dotnet3.1-0:3.1.106-1.el8_2 | RHSA-2020:2954 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | dotnet-0:2.1.516-1.el8_0 | RHSA-2020:2989 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | dotnet-0:2.1.516-1.el8_1 | RHSA-2020:2988 |
Frequently Asked Questions
Is CVE-2020-1147 in your dependencies?
Find it across NuGet, including transitive dependencies.