CVE-2020-1045: Microsoft ASP.NET Core Security Feature Bypass Vulnerability

Published Aug 28, 2020
·
Updated

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

Other sources

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

It was discovered that ASP.NET did not properly decode certain cookie values. A remote attacker could exploit this to bypass the "Cookie Prefixes" security mechanism by sending specially crafted cookies to a vulnerable web application.

Red Hat

Affected Software

27 affected componentsFixes available
nuget/Microsoft.AspNetCore.Http<2.1.22
2.1.22
nuget/Microsoft.AspNetCore.App.Runtime.win-arm64>=3.1.5<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-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.osx-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.linux-musl-x64>=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-arm64>=3.1.0<3.1.8
3.1.8
nuget/Microsoft.AspNetCore.App.Runtime.linux-arm>=3.1.0<3.1.8
3.1.8
nuget/Microsoft.Owin<4.1.1
4.1.1
nuget/Microsoft.AspNetCore.App<=2.1.21
2.1.22
Microsoft ASP.NET Core>=2.1<=2.1.21
Microsoft ASP.NET Core>=3.1<3.1.8
Fedoraproject Fedora=32
Fedoraproject Fedora=33
redhat Enterprise Linux=8.0
redhat Enterprise Linux Aus=8.2
redhat Enterprise Linux Aus=8.4
redhat Enterprise Linux Aus=8.6
redhat Enterprise Linux Eus=8.2
redhat Enterprise Linux Eus=8.4
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux Tus=8.2
redhat Enterprise Linux Tus=8.4
redhat Enterprise Linux Tus=8.6

Event History

Aug 28, 2020
Data Sourced
via Red Hat·11:48 AM
DescriptionSeverityAffected Software
Sep 11, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software
May 24, 2022
Advisory Published
05:27 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-1045?

CVE-2020-1045 is a security feature bypass vulnerability in Microsoft ASP.NET Core.

2

What is the severity of CVE-2020-1045?

The severity of CVE-2020-1045 is high (7.5).

3

Which software is affected by CVE-2020-1045?

Microsoft ASP.NET Core versions 2.1.21 to 2.1 and 3.1.8 to 3.1 are affected by CVE-2020-1045.

4

How does CVE-2020-1045 work?

CVE-2020-1045 allows a malicious attacker to set a second cookie with a percent-encoded name by exploiting how ASP.NET Core parses encoded cookie names.

5

How can I fix CVE-2020-1045?

Update to the patched versions of Microsoft ASP.NET Core (2.1.21 or later for 2.1.x versions, 3.1.8 or later for 3.1.x versions).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203