ADVISORIES

GitHub Advisory Database

GHSA-hxrm-9w7p-39cc

Cookie parsing failure

Details

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

EcosystemPackageAffected versions
NuGetMicrosoft.AspNetCore.Http
All versions before 2.1.22 (fixed in 2.1.22)
NuGetMicrosoft.AspNetCore.App
All versions before 2.1.22 (fixed in 2.1.22)
NuGetMicrosoft.Owin
All versions before 4.1.1 (fixed in 4.1.1)
NuGetMicrosoft.AspNetCore.App.Runtime.linux-arm
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.linux-arm64
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-x64
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.linux-x64
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.osx-x64
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.win-arm
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.win-x64
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.win-x86
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.linux-musl-arm64
From 3.1.0 before 3.1.8 (fixed in 3.1.8)
NuGetMicrosoft.AspNetCore.App.Runtime.win-arm64
From 3.1.5 before 3.1.8 (fixed in 3.1.8)

References