NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
.NET
.NET NuGet
Not in CISA KEV
HIGH severity

CVE-2020-1045 — Microsoft.AspNetCore.Http

HIGHFix: dotnet/aspnetcore#24264

CVE-2020-1045 is a high-severity (CVSS 7.5) vulnerability in Microsoft.AspNetCore.Http. A fix is available for Microsoft.AspNetCore.Http — see the affected versions and patch details below.

Cookie parsing failure

Also known asBIT-aspnet-core-2020-1045GHSA-hxrm-9w7p-39cc
Published
Updated
Affected
13 pkgs
Patched
13 / 13
Exploits
None indexed
Exploitation data as of Nov 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2020-1045.

EPSS Exploitation Probability

via FIRST.org ↗
5.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs93th percentile — riskier than 93% of all scored CVEsHighest risk
1.58%9.30%17.0%24.7%20.4%5.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

13 pkgs affected
.NETMicrosoft.AspNetCore.Http.NETMicrosoft.AspNetCore.App.NETMicrosoft.Owin.NETMicrosoft.AspNetCore.App.Runtime.linux-arm.NETMicrosoft.AspNetCore.App.Runtime.linux-arm64.NETMicrosoft.AspNetCore.App.Runtime.linux-musl-x64.NETMicrosoft.AspNetCore.App.Runtime.linux-x64.NETMicrosoft.AspNetCore.App.Runtime.osx-x64+5 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.

Description

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 Packages

13 total 13 fixed
EcosystemPackageVulnerable rangeFix
.NETNuGetMicrosoft.AspNetCore.Httpall versions2.1.22dotnet add package Microsoft.AspNetCore.Http --version 2.1.22
.NETNuGetMicrosoft.AspNetCore.Appall versions2.1.22dotnet add package Microsoft.AspNetCore.App --version 2.1.22
.NETNuGetMicrosoft.Owinall versions4.1.1dotnet add package Microsoft.Owin --version 4.1.1
.NETNuGetMicrosoft.AspNetCore.App.Runtime.linux-arm≥ 3.1.0&&< 3.1.83.1.8dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm --version 3.1.8
.NETNuGetMicrosoft.AspNetCore.App.Runtime.linux-arm64≥ 3.1.0&&< 3.1.83.1.8dotnet add package Microsoft.AspNetCore.App.Runtime.linux-arm64 --version 3.1.8
.NETNuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-x64≥ 3.1.0&&< 3.1.83.1.8dotnet add package Microsoft.AspNetCore.App.Runtime.linux-musl-x64 --version 3.1.8

Affected Products

6 products · 14 configurations
OS
fedorafedoraproject
2 versions
3233
Application
asp.net coremicrosoft
≥ 3.1 && ≤ 2.1.21
range
OS
enterprise linuxredhat
1 version
8.0
OS
enterprise linux ausredhat
3 versions
8.28.48.6
OS
enterprise linux eusredhat
3 versions
8.28.48.6
OS
enterprise linux tusredhat
3 versions
8.28.48.6

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Microsoft.AspNetCore.Http, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update Microsoft.AspNetCore.Http to 2.1.22 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-1045 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

The "Cookie Prefixes" feature is not used by default in ASP.NET. Successful exploitation likely requires a secondary vulnerability, for example a cross-site scripting issue.

ProductFixed inAdvisory
.NET Core on Red Hat Enterprise Linuxrh-dotnet31-dotnet-0:3.1.108-1.el7RHSA-2020:3697
Red Hat Enterprise Linux 8dotnet3.1-0:3.1.108-2.el8_2RHSA-2020:3699

Frequently Asked Questions

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'.
O3 Security · Impact-Aware SCA

Is CVE-2020-1045 in your dependencies?

Find it across NuGet, including transitive dependencies.

CVE-2020-1045: Microsoft.AspNetCore — Fixed in 2.1.22