CVE-2020-1045
dotnet: ASP.NET cookie prefix spoofing vulnerability
Overview
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>
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected packages · 14
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | aspnet-core | >=3.1.0, <3.1.8 | 3.1.8 |
| NuGet | Microsoft.AspNetCore.App | <2.1.22 | 2.1.22 |
| 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-arm64 | >=3.1.5, <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.Http | <2.1.22 | 2.1.22 |
| NuGet | Microsoft.Owin | <4.1.1 | 4.1.1 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | dotnet +3 | 3.1.108-2.0.1.el8_2 |
| 8 | aspnetcore-runtime-3-1 +6 | 3.1.8-2.0.1.el8_2 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | dotnet-sdk-977e29 | 6.0.428-1.ph4 |
Red Hat 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-dotnet31-dotnet +3 | 0:3.1.108-1.el7 | RHSA-2020:3697 |
| 7 | rh-dotnet31-aspnetcore-runtime-3-1 +6 | 0:3.1.8-1.el7 | RHSA-2020:3697 |
| 8 | dotnet +3 | 0:3.1.108-2.el8_2 | RHSA-2020:3699 |
| 8 | aspnetcore-runtime-3-1 +6 | 0:3.1.8-2.el8_2 | RHSA-2020:3699 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:3699
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-1045
- github.com https://github.com/dotnet/announcements/issues/165
- github.com https://github.com/dotnet/aspnetcore/issues/23578
- github.com https://github.com/dotnet/aspnetcore/issues/25701
- github.com https://github.com/dotnet/aspnetcore/issues/25701#issuecomment-689434477
- github.com https://github.com/dotnet/aspnetcore/pull/24264
- github.com https://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.8/3.1.8.md#changes-in-318
- github.com https://github.com/github/advisory-database/issues/302
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-1045.html
Show all 21 references
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-3699.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-1045
- portal.msrc.microsoft.com https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1045
- security.snyk.io https://security.snyk.io/vuln/SNYK-RHEL8-DOTNET-1439600
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-1045
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.