CVE-2020-1045
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)
- 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
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
Vendor advisories
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3/
- https://nvd.nist.gov/vuln/detail/CVE-2020-1045
Patches
Other
- https://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.8/3.1.8.md#changes-in-318
- https://security.snyk.io/vuln/SNYK-RHEL8-DOTNET-1439600
- https://access.redhat.com/errata/RHSA-2020:3699
- https://github.com/dotnet/announcements/issues/165
- https://github.com/dotnet/aspnetcore/issues/25701
- https://github.com/dotnet/aspnetcore/issues/25701#issuecomment-689434477
- https://github.com/github/advisory-database/issues/302
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3
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.