7.8
High
Microsoft.NETCore.App

CVE-2020-1147

CVE-2020-1147 is a high-severity security vulnerability in Microsoft.NETCore.App (nuget), affecting versions >= 2.1.0, < 2.1.20. It is fixed in 2.1.20, 3.1.6.

Key facts
CVSS score
7.8
High
Attack vector
Local
Issuing authority
GitHub Advisory Database
Affected package
Microsoft.NETCore.App
Fixed in
2.1.20, 3.1.6
Disclosed
2020

Summary

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'.

Impact

Severity and exposure

CVE-2020-1147 has a CVSS score of 7.8 (High). The vector is requires local access, no privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (2.1.20, 3.1.6). Upgrading removes the vulnerable code path.

Affected versions

nuget

  • Microsoft.NETCore.App (>= 2.1.0, < 2.1.20)
  • Microsoft.NETCore.App.Runtime.linux-arm (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.linux-arm64 (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.linux-musl-arm64 (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.linux-musl-x64 (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.linux-x64 (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.osx-x64 (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.rhel.6-x64 (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.win-arm (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.win-arm64 (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.win-x64 (>= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.win-x86 (>= 3.1.0, < 3.1.6)

Security releases

  • Microsoft.NETCore.App → 2.1.20 (nuget)
  • Microsoft.NETCore.App.Runtime.linux-arm → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.linux-arm64 → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.linux-musl-arm64 → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.linux-musl-x64 → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.linux-x64 → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.osx-x64 → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.rhel.6-x64 → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.win-arm → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.win-arm64 → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.win-x64 → 3.1.6 (nuget)
  • Microsoft.NETCore.App.Runtime.win-x86 → 3.1.6 (nuget)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2020-1147 is reachable in your applications. Explore open-source security for your team.

See if CVE-2020-1147 is reachable in your applications. Get a demo

Remediation advice

Upgrade the following packages to resolve this vulnerability:

  • Upgrade Microsoft.NETCore.App to 2.1.20 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-arm to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-arm64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-musl-arm64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-musl-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.osx-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.rhel.6-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.win-arm to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.win-arm64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.win-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.win-x86 to 3.1.6 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2020-1147

What is CVE-2020-1147?

CVE-2020-1147 is a high-severity security vulnerability in Microsoft.NETCore.App (nuget), affecting versions >= 2.1.0, < 2.1.20. It is fixed in 2.1.20, 3.1.6.

How severe is CVE-2020-1147?

CVE-2020-1147 has a CVSS score of 7.8 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which packages are affected by CVE-2020-1147?
  • Microsoft.NETCore.App (nuget) (versions >= 2.1.0, < 2.1.20)
  • Microsoft.NETCore.App.Runtime.linux-arm (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.linux-arm64 (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.linux-musl-arm64 (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.linux-musl-x64 (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.linux-x64 (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.osx-x64 (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.rhel.6-x64 (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.win-arm (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.win-arm64 (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.win-x64 (nuget) (versions >= 3.1.0, < 3.1.6)
  • Microsoft.NETCore.App.Runtime.win-x86 (nuget) (versions >= 3.1.0, < 3.1.6)
Is there a fix for CVE-2020-1147?

Yes. CVE-2020-1147 is fixed in 2.1.20, 3.1.6. Upgrade to this version or later.

Is CVE-2020-1147 exploitable, and should I be worried?

Whether CVE-2020-1147 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2020-1147 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2020-1147?
  • Upgrade Microsoft.NETCore.App to 2.1.20 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-arm to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-arm64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-musl-arm64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-musl-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.linux-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.osx-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.rhel.6-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.win-arm to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.win-arm64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.win-x64 to 3.1.6 or later
  • Upgrade Microsoft.NETCore.App.Runtime.win-x86 to 3.1.6 or later

Stop the waste.
Protect your environment with Kodem.