High

Remote code execution in ASP.NET Core

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 11:23

A remote code execution vulnerability exists in ASP.NET Core software when the software fails to handle objects in memory.An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user, aka 'ASP.NET Core Remote Code Execution Vulnerability'.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
.NET (NuGet) Microsoft.AspNetCore.All >= 2.1.0, < 2.1.15 2.1.15
.NET (NuGet) Microsoft.AspNetCore.App >= 3.1.0, < 3.1.1, >= 3.0.0, < 3.0.1, >= 2.1.0, < 2.1.15 3.1.1, 3.0.1, 2.1.15
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-x64 >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.osx-x64 >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.win-arm >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.win-x64 >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.win-x86 >= 3.1.0, < 3.1.1 3.1.1
.NET (NuGet) Microsoft.AspNetCore.Http.Connections >= 1.0.0, < 1.0.15 1.0.15

References

CVSS score -
Weakness (CWE)
CWE-119
Platform
.NET (NuGet)
Package
Microsoft.AspNetCore.All, Microsoft.AspNetCore.App, Microsoft.AspNetCore.App.Runtime.linux-arm
Disclosed
24.05.2022
Updated
11.10.2026 11:23

Sources and licenses

OSV / GitHub Advisory Database - GHSA-655q-9gvg-q4cm - CC BY 4.0

Vulnerability history: Microsoft.AspNetCore.All

All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
10.2018 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 6
  • Medium 4

Disclosures per year

  1. 2018: 4
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 6
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
Severity:
  1. High · 7.5 CVE-2020-1597 >= 2.1.0, < 2.1.21 2.1.21
  2. Remote code execution in ASP.NET Core this entry
    High CVE-2020-0603 >= 2.1.0, < 2.1.15 2.1.15
  3. High · 8.8 CVE-2017-11879 >= 2.0.0, < 2.0.3 2.0.3
  4. High · 7.5 CVE-2019-0564 >= 2.2.0, < 2.2.1, >= 2.1.0, < 2.1.7 2.2.1, 2.1.7
  5. High · 7.5 CVE-2018-8269 >= 2.1.0, < 2.1.13, >= 2.2.0, < 2.2.7 2.1.13, 2.2.7

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.