GHSA-hxrm-9w7p-39cc
Cookie parsing failure
At a glance
- Published
- Updated
- CVE
- CVE-2020-1045
- Aliases
- BIT-aspnet-core-2020-1045
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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
| Package | Versions |
|---|---|
| NuGet · Microsoft.AspNetCore.Http | introduced 0, fixed 2.1.22 |
| NuGet · Microsoft.AspNetCore.App | introduced 0, fixed 2.1.22 |
| NuGet · Microsoft.Owin | introduced 0, fixed 4.1.1 |
| NuGet · Microsoft.AspNetCore.App.Runtime.linux-arm | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.linux-arm64 | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.linux-musl-x64 | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.linux-x64 | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.osx-x64 | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.win-arm | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.win-x64 | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.win-x86 | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 | introduced 3.1.0, fixed 3.1.8 |
| NuGet · Microsoft.AspNetCore.App.Runtime.win-arm64 | introduced 3.1.5, fixed 3.1.8 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-1045 ADVISORY
- https://github.com/dotnet/announcements/issues/165 WEB
- https://github.com/dotnet/aspnetcore/issues/25701 WEB
- https://github.com/dotnet/aspnetcore/issues/25701#issuecomment-689434477 WEB
- https://github.com/github/advisory-database/issues/302 WEB
- https://github.com/dotnet/aspnetcore/pull/24264 WEB
- https://access.redhat.com/errata/RHSA-2020:3699 WEB
- https://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.8/3.1.8.md#changes-in-318 WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3 WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3 WEB
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1045 WEB
- https://security.snyk.io/vuln/SNYK-RHEL8-DOTNET-1439600 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |