{"id":"CVE-2020-1045","published":"2020-09-11T00:00:00Z","modified":"2024-11-18T16:25:38Z","title":"Microsoft ASP.NET Core Security Feature Bypass Vulnerability","vendor":"Microsoft","product":"ASP.NET Core 2.1","tier":"tail","description":{"text":"<p>A security feature bypass vulnerability exists in the way Microsoft ASP.NET Core parses encoded cookie names.</p>\n<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>\n<p>The security update addresses the vulnerability by fixing the way the ASP.NET Core cookie parser handles encoded names.</p>","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.05926,"percentile":0.93426,"provenance":"source"},"cwes":[],"references":[{"url":"https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1045","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5LN2FUVBSVPGK7AU3NMLO3YR6CGONQPB/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ASICXQXS4M7MTAF6SGQMCLCA63DLCUT3/","tags":["vendor-advisory"]},{"url":"https://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.8/3.1.8.md#changes-in-318","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-RHEL8-DOTNET-1439600","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2020:3699","tags":[]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":18.69},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"microsoft","affectedVersions":[{"vendor":"Microsoft","product":"ASP.NET Core 2.1","versions":[">= 2.0, < publication"]},{"vendor":"Microsoft","product":"ASP.NET Core 3.1","versions":[">= 3.0, < publication"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-01-10T18:21:43.315688Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.Http","vulnerableRanges":["<2.1.22"],"patched":["2.1.22"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.App","vulnerableRanges":["<2.1.22"],"patched":["2.1.22"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.Owin","vulnerableRanges":["<4.1.1"],"patched":["4.1.1"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.App.Runtime.linux-arm","vulnerableRanges":[">=3.1.0, <3.1.8"],"patched":["3.1.8"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.App.Runtime.linux-arm64","vulnerableRanges":[">=3.1.0, <3.1.8"],"patched":["3.1.8"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.App.Runtime.linux-musl-x64","vulnerableRanges":[">=3.1.0, <3.1.8"],"patched":["3.1.8"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.App.Runtime.linux-x64","vulnerableRanges":[">=3.1.0, <3.1.8"],"patched":["3.1.8"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.App.Runtime.osx-x64","vulnerableRanges":[">=3.1.0, <3.1.8"],"patched":["3.1.8"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.App.Runtime.win-arm","vulnerableRanges":[">=3.1.0, <3.1.8"],"patched":["3.1.8"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"},{"ecosystem":"NuGet","package":"Microsoft.AspNetCore.App.Runtime.win-x64","vulnerableRanges":[">=3.1.0, <3.1.8"],"patched":["3.1.8"],"from":["GHSA-hxrm-9w7p-39cc"],"provenance":"source"}],"summary":{"text":"A security feature bypass flaw exists in how Microsoft ASP.NET Core 2.1 parses encoded cookie names, because its cookie parser decodes entire cookie strings. An attacker with network access and no authentication or user interaction could set a second cookie whose name is percent-encoded, affecting the integrity of cookie handling.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:38:28Z"},"euvd":{"id":"EUVD-2022-4249","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-0603","published":"2020-01-14","fixed":"3.1.1","kev":false},{"cve":"CVE-2020-1161","published":"2020-05-21","fixed":"3.1.4","kev":false,"link":{"from":"CVE-2020-1161","to":"CVE-2020-1045","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Microsoft.AspNetCore.App.Runtime.win-x64","fromFixed":"3.1.4","toFixed":"3.1.8","daysApart":113}]}},{"cve":"CVE-2020-1597","published":"2020-08-17","fixed":"3.1.7","kev":false,"link":{"from":"CVE-2020-1597","to":"CVE-2020-1045","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Microsoft.AspNetCore.App.Runtime.linux-arm","fromFixed":"3.1.7","toFixed":"3.1.8","daysApart":25},{"kind":"version-step","provenance":"source","package":"NuGet:Microsoft.AspNetCore.App.Runtime.linux-arm64","fromFixed":"3.1.7","toFixed":"3.1.8","daysApart":25},{"kind":"similar","provenance":"machine","score":0.34,"basis":"same product + description similarity"}]}},{"cve":"CVE-2020-1045","published":"2020-09-11","fixed":"3.1.8","kev":false},{"cve":"CVE-2021-1723","published":"2021-01-12","fixed":"5.0.2","kev":false,"link":{"from":"CVE-2020-1045","to":"CVE-2021-1723","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Microsoft.AspNetCore.App.Runtime.linux-arm","fromFixed":"3.1.8","toFixed":"3.1.11","daysApart":123},{"kind":"version-step","provenance":"source","package":"NuGet:Microsoft.AspNetCore.App.Runtime.linux-arm64","fromFixed":"3.1.8","toFixed":"3.1.11","daysApart":123}]}},{"cve":"CVE-2022-21986","published":"2022-02-09","fixed":"6.0.2","kev":false},{"cve":"CVE-2022-24464","published":"2022-03-09","fixed":"6.0.3","kev":false},{"cve":"CVE-2022-29117","published":"2022-05-10","fixed":"6.0.5","kev":false,"link":{"from":"CVE-2020-1045","to":"CVE-2022-29117","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"NuGet:Microsoft.Owin","fromFixed":"4.1.1","toFixed":"4.2.2","daysApart":606}]}}],"package":"NuGet:Microsoft.AspNetCore.App.Runtime.linux-arm"}}