CVE-2020-1045Microsoft ASP.NET Core Security Feature Bypass Vulnerability
<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>
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-3.1 | Fixed | 0:3.1.8-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-3.1 | Fixed | 0:3.1.8-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet | Fixed | 0:3.1.108-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-3.1 | Fixed | 0:3.1.8-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet-host | Fixed | 0:3.1.8-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet-host-fxr-2.1 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-3.1 | Fixed | 0:3.1.8-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet-runtime-2.1 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-3.1 | Fixed | 0:3.1.8-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet-sdk-2.1 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-2.1.5xx | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-3.1 | Fixed | 0:3.1.108-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-3.1 | Fixed | 0:3.1.8-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet-templates-3.1 | Fixed | 0:3.1.108-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | dotnet3.1 | Fixed | 0:3.1.108-2.el8_2 | RHSA-2020:3699 |
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Fixed | 0:3.1.108-2.el8_2 | RHSA-2020:3699 |
What the vendor says
As published in the CVE record by microsoft, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Microsoft ASP.NET Core 2.1: affected: 2.0 to before publication
- Microsoft ASP.NET Core 3.1: affected: 3.0 to before publication
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1045
- 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://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.8/3.1.8.md#changes-in-318
- https://security.snyk.io/vuln/SNYK-RHEL8-DOTNET-1439600
- https://access.redhat.com/errata/RHSA-2020:3699
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.