Microsoft ASP.NET Core Security Feature Bypass Vulnerability
Microsoft ASP.NET Core 2.1 · Microsoft ASP.NET Core 3.1
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft.AspNetCore.Http NuGet |
|
|
| Microsoft.AspNetCore.App NuGet |
|
|
| Microsoft.Owin NuGet |
Microsoft ASP.NET Core 2.1 · Microsoft ASP.NET Core 3.1
| Product | Affected | Fixed in |
|---|---|---|
| Microsoft.AspNetCore.Http NuGet |
|
|
| Microsoft.AspNetCore.App NuGet |
|
|
| Microsoft.Owin NuGet |
< 4.1.1
|
| Microsoft.AspNetCore.App.Runtime.linux-arm NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.linux-arm64 NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.linux-musl-x64 NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.linux-x64 NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.osx-x64 NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.win-arm NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.win-x64 NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.win-x86 NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 NuGet |
|
|
| Microsoft.AspNetCore.App.Runtime.win-arm64 NuGet |
|
|
<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>
From the CVE record · microsoft
Microsoft ASP.NET Core's cookie parser decodes entire cookie strings, allowing an attacker to set a second cookie with a percent-encoded name and potentially bypass a security feature. The input does not specify whether authentication or user interaction is required.
Check applications using ASP.NET Core 2.1 or 3.1, or the listed NuGet packages, at the affected versions.