high7.5
CVE-2020-1045
Cookie parsing failure
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | Microsoft.AspNetCore.App | <= 2.1.21 | 2.1.22 |
| nuget | Microsoft.Owin | < 4.1.1 | 4.1.1 |
| nuget | Microsoft.AspNetCore.App.Runtime.linux-arm | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.linux-arm64 | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.linux-x64 | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.osx-x64 | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.win-arm | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.win-x64 | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.win-x86 | >= 3.1.0, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.App.Runtime.win-arm64 | >= 3.1.5, < 3.1.8 | 3.1.8 |
| nuget | Microsoft.AspNetCore.Http | < 2.1.22 | 2.1.22 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Microsoft | Asp.Net Core | from 2.1 through 2.1.21 from 3.1 before 3.1.8 |
| Fedoraproject | Fedora | Versions 32, 33 |
| Redhat | Enterprise Linux | Version 8.0 |
| Redhat | Enterprise Linux Aus | Versions 8.2, 8.4, 8.6 |
| Redhat | Enterprise Linux Eus | Versions 8.2, 8.4, 8.6 |
| Redhat | Enterprise Linux Tus | Versions 8.2, 8.4, 8.6 |
References
- NVD record
- CVE.org record
- GitHub advisory
- 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://github.com/advisories/GHSA-hxrm-9w7p-39cc
- https://nvd.nist.gov/vuln/detail/CVE-2020-1045
- 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/
- https://github.com/github/advisory-database/issues/302
- https://github.com/dotnet/aspnetcore/pull/24264
- https://github.com/dotnet/announcements/issues/165
- https://github.com/dotnet/aspnetcore/issues/25701
- https://github.com/dotnet/aspnetcore/issues/25701#issuecomment-689434477