CVE-2019-0564 Denial of service in ASP.NET Core

High 7.5 Published Updated

Attackers can cause a denial of service in ASP.NET Core by sending improperly handled web requests, affecting service availability.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-0564?

CVE-2019-0564 is a high-severity denial of service vulnerability in Microsoft ASP.NET Core, published on 8 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A denial of service vulnerability exists when ASP.NET Core improperly handles web requests, aka "ASP.NET Core Denial of Service Vulnerability." This affects ASP.NET Core 2.1. This CVE ID is unique from CVE-2019-0548.

Weakness: CWE-19

Which versions are affected by CVE-2019-0564?

20 open source packages ship an affected version, including Microsoft.AspNetCore.All, Microsoft.AspNetCore.App and Microsoft.AspNetCore.Server.Kestrel.Core. It affects 1 product.

PackageAffectedFixed in
Microsoft.AspNetCore.All NuGetFrom 2.1.02.1.7
Microsoft.AspNetCore.All NuGetFrom 2.1.02.1.7
Microsoft.AspNetCore.All NuGetFrom 2.2.02.2.1
Microsoft.AspNetCore.All NuGetFrom 2.2.02.2.1
Microsoft.AspNetCore.App NuGetFrom 2.1.02.1.7
Microsoft.AspNetCore.App NuGetFrom 2.1.02.1.7
14 more packages
Microsoft.AspNetCore.App NuGetFrom 2.2.02.2.1
Microsoft.AspNetCore.App NuGetFrom 2.2.02.2.1
Microsoft.AspNetCore.Server.Kestrel.Core NuGetFrom 2.1.02.1.7
Microsoft.AspNetCore.Server.Kestrel.Core NuGetFrom 2.1.02.1.7
Microsoft.AspNetCore.WebSockets NuGetFrom 2.1.02.1.7
Microsoft.AspNetCore.WebSockets NuGetFrom 2.1.02.1.7
Microsoft.AspNetCore.WebSockets NuGetFrom 2.2.02.2.1
Microsoft.AspNetCore.WebSockets NuGetFrom 2.2.02.2.1
Microsoft.NETCore.App NuGetFrom 2.1.02.1.7
Microsoft.NETCore.App NuGetFrom 2.1.02.1.7
Microsoft.NETCore.App NuGetFrom 2.2.02.2.1
Microsoft.NETCore.App NuGetFrom 2.2.02.2.1
System.Net.WebSockets.WebSocketProtocol NuGetFrom 4.5.04.5.3
System.Net.WebSockets.WebSocketProtocol NuGetFrom 4.5.04.5.3

Products include Microsoft Asp.net Core.

How do I fix CVE-2019-0564?

Upgrade Microsoft.AspNetCore.All to a fixed version for your release line: 2.1.7 or 2.2.1.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2019-0564 being exploited?

There is no known exploitation of CVE-2019-0564 in the wild and no public exploit code.

Sources

Also known as GHSA-6px8-22w5-w334.

Is CVE-2019-0564 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free