What’s Vulnerable › Vulnerabilities
CVE-2020-1045: Microsoft ASP.NET Core Security Feature Bypass Vulnerability
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-09-11 · updated 2026-06-17
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 products
- Fedoraproject Fedora: 32, 33
- Microsoft .NET Core: from 2.1 through 2.1.21; from 3.1 before 3.1.8 — fixed in 3.1.8
- Red Hat Enterprise Linux: 8.0
- RedHat Enterprise Linux Aus: 8.2, 8.4, 8.6
- RedHat Enterprise Linux Eus: 8.2, 8.4, 8.6
- RedHat Enterprise Linux Tus: 8.2, 8.4, 8.6
- Microsoft ASP.NET Core 2.1: from 2.0 before publication — fixed in publication
- Microsoft ASP.NET Core 3.1: from 3.0 before publication — fixed in publication
How to fix
Upgrade to a fixed version: Microsoft .NET Core 3.1.8; Microsoft ASP.NET Core 2.1 publication; Microsoft ASP.NET Core 3.1 publication. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2020:3699
- https://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.8/3.1.8.md#changes-in-318
- 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://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1045
- https://security.snyk.io/vuln/SNYK-RHEL8-DOTNET-1439600
- https://access.redhat.com/errata/RHSA-2020:3699
- https://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.8/3.1.8.md#changes-in-318
- 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://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1045
- https://security.snyk.io/vuln/SNYK-RHEL8-DOTNET-1439600
Get alerted when CVE-2020-1045 or the next vulnerability affects your stack