Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2020-1045

HIGH 7.5EPSS 94%

Microsoft ASP.NET Core Security Feature Bypass Vulnerability

Also known as BIT-aspnet-core-2020-1045, GHSA-hxrm-9w7p-39cc

Mitigation

  • Upgrade Microsoft.AspNetCore.Http to 2.1.22 or later.
  • Upgrade Microsoft.AspNetCore.App to 2.1.22 or later.
  • Upgrade Microsoft.Owin to 4.1.1 or later.
  • Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 3.1.8 or later.
  • Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 3.1.8 or later.
  • Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 3.1.8 or later.
  • Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 3.1.8 or later.
  • Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 3.1.8 or later.

Who should check

  • Projects that depend on NuGet package Microsoft.AspNetCore.Http (< 2.1.22)
  • Projects that depend on NuGet package Microsoft.AspNetCore.App (< 2.1.22)
  • Projects that depend on NuGet package Microsoft.Owin (< 4.1.1)
  • Projects that depend on NuGet package Microsoft.AspNetCore.App.Runtime.linux-arm (>= 3.1.0, < 3.1.8)
  • Projects that depend on NuGet package Microsoft.AspNetCore.App.Runtime.linux-arm64 (>= 3.1.0, < 3.1.8)
  • Projects that depend on NuGet package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 (>= 3.1.0, < 3.1.8)
  • Projects that depend on NuGet package Microsoft.AspNetCore.App.Runtime.linux-x64 (>= 3.1.0, < 3.1.8)
  • Projects that depend on NuGet package Microsoft.AspNetCore.App.Runtime.osx-x64 (>= 3.1.0, < 3.1.8)

Vulnerability facts

Affected
Microsoft.AspNetCore.Http < 2.1.22; Microsoft.AspNetCore.App < 2.1.22; Microsoft.Owin < 4.1.1; Microsoft.AspNetCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-x64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.osx-x64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.win-arm >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.win-x64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.win-x86 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.win-arm64 >= 3.1.5, < 3.1.8
Fixed in
2.1.22, 4.1.1, 3.1.8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: None
  • E: P
  • RL: O
  • RC: C
EPSS
5.93% chance of exploitation in 30 days (percentile 94, 2026-11-26)
Published
Modified

Description

<p>A security feature bypass vulnerability exists in the way Microsoft ASP.NET Core parses encoded cookie names.</p> <p>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.</p> <p>The security update addresses the vulnerability by fixing the way the ASP.NET Core cookie parser handles encoded names.</p>

Affected and fixed versions

Package / productAffectedFixedSource
NuGet Microsoft.AspNetCore.Http< 2.1.222.1.22osv
NuGet Microsoft.AspNetCore.App< 2.1.222.1.22osv
NuGet Microsoft.Owin< 4.1.14.1.1osv
NuGet Microsoft.AspNetCore.App.Runtime.linux-arm>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.linux-arm64>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-x64>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.linux-x64>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.osx-x64>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.win-arm>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.win-x64>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.win-x86>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.linux-musl-arm64>= 3.1.0, < 3.1.83.1.8osv
NuGet Microsoft.AspNetCore.App.Runtime.win-arm64>= 3.1.5, < 3.1.83.1.8osv
Microsoft ASP.NET Core 2.1>= 2.0, < publication—cvelist
Microsoft ASP.NET Core 3.1>= 3.0, < publication—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2020-1045. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-1045.md
Affected: Microsoft.AspNetCore.Http < 2.1.22; Microsoft.AspNetCore.App < 2.1.22; Microsoft.Owin < 4.1.1; Microsoft.AspNetCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.8; Microsoft.A…
Fixed in: 2.1.22, 4.1.1, 3.1.8

Steps:
1. Search this machine and project for Microsoft.AspNetCore.Http (NuGet), Microsoft.AspNetCore.App (NuGet), Microsoft.Owin (NuGet), Microsoft.AspNetCore.App.Runtime.linux-arm (NuGet), Microsoft.AspNetCore.App.Runtime.linux-arm64 (NuGet), Microsoft.AspNetCore.App.Runtime.linux-musl-x64 (NuGet): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2020-1045 being exploited?

There is no confirmed exploitation: CVE-2020-1045 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.93% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2020-1045?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2020-1045?

Microsoft.AspNetCore.Http < 2.1.22; Microsoft.AspNetCore.App < 2.1.22; Microsoft.Owin < 4.1.1; Microsoft.AspNetCore.App.Runtime.linux-arm >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-arm64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-musl-x64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-x64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.osx-x64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.win-arm >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.win-x64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.win-x86 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 >= 3.1.0, < 3.1.8; Microsoft.AspNetCore.App.Runtime.win-arm64 >= 3.1.5, < 3.1.8.

Is there a fix for CVE-2020-1045?

Yes. Fixed in 2.1.22, 4.1.1, 3.1.8. Upgrade Microsoft.AspNetCore.Http to 2.1.22 or later. Upgrade Microsoft.AspNetCore.App to 2.1.22 or later. Upgrade Microsoft.Owin to 4.1.1 or later. Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 3.1.8 or later. Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 3.1.8 or later. Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 3.1.8 or later. Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 3.1.8 or later. Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 3.1.8 or later.

How do I check if I'm affected by CVE-2020-1045?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors