High

Cookie parsing failure

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 11:23

A security feature bypass vulnerability exists in the way Microsoft ASP.NET Core parses encoded cookie names.The ASP.NET Core cookie parser decodes entire cookie strings which could allow a malicious attacker to set a second cookie with the name being percent encoded.The security update addresses the vulnerability by fixing the way the ASP.NET Core cookie parser handles encoded names., aka 'Microsoft ASP.NET Core Security Feature Bypass Vulnerability'.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
.NET (NuGet) Microsoft.AspNetCore.App < 2.1.22 2.1.22
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.linux-x64 >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.osx-x64 >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.win-arm >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.win-arm64 >= 3.1.5, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.win-x64 >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.App.Runtime.win-x86 >= 3.1.0, < 3.1.8 3.1.8
.NET (NuGet) Microsoft.AspNetCore.Http < 2.1.22 2.1.22
.NET (NuGet) Microsoft.Owin < 4.1.1 4.1.1

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
-
Platform
.NET (NuGet)
Package
Microsoft.AspNetCore.App, Microsoft.AspNetCore.App.Runtime.linux-arm, Microsoft.AspNetCore.App.Runtime.linux-arm64
Disclosed
24.05.2022
Updated
11.10.2026 11:23

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hxrm-9w7p-39cc - CC BY 4.0

Vulnerability history: Microsoft.AspNetCore.App

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

Total entries
8
First → latest
10.2018 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 5
  • Medium 3

Disclosures per year

  1. 2018: 2
  2. 2019: 0
  3. 2020: 0
  4. 2021: 0
  5. 2022: 6
  6. 2023: 0
  7. 2024: 0
  8. 2025: 0
  9. 2026: 0
  1. Cookie parsing failure this entry
    High · 7.5 CVE-2020-1045 < 2.1.22 2.1.22
  2. High · 7.5 CVE-2020-1597 >= 2.1.0, < 2.1.21 2.1.21
  3. Medium CVE-2020-0602 >= 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
  4. High CVE-2020-0603 >= 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
  5. Medium · 6.1 CVE-2019-1075 >= 2.2.0, < 2.2.6, >= 2.1.0, < 2.1.12 2.2.6, 2.1.12
  6. High · 7.5 CVE-2019-0564 >= 2.2.0, < 2.2.1, >= 2.1.0, < 2.1.7 2.2.1, 2.1.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.