Cookie parsing failure

Description

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'.

Basic information

Type
reviewed
Severity
high
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Not specified
Published (advisory)
2022-05-24 17:27:57 UTC
Updated
2024-01-09 05:05:02 UTC
GitHub reviewed
2022-07-07 23:06:40 UTC
NVD published
2020-09-11

EPSS Score

Score Percentile
20.40% 95.50%

CVSS Scores

Base score Version Severity Vector
7.5 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

Credits

  • GeorgeHady (analyst)
  • skofman1 (analyst)
  • Tratcher (analyst)

Affected packages (13)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
nuget Microsoft.AspNetCore.App <= 2.1.21 2.1.22
nuget Microsoft.Owin < 4.1.1 4.1.1
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-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.App.Runtime.win-arm64 >= 3.1.5, < 3.1.8 3.1.8
nuget Microsoft.AspNetCore.Http < 2.1.22 2.1.22

References

cvelogic Threat Intelligence