Kestrel Denial of Service in ASP.NET Core and .NET
CVE-2023-38180 is a denial-of-service vulnerability in the Kestrel web server component of ASP.NET Core and .NET. A malicious client can cause Kestrel to fail to disconnect, allowing connections or associated resources to remain active and potentially exhausting server capacity. Affected products include ASP.NET Core 2.1, .NET 6.0, and .NET 7.0 prior to the applicable August 2023 servicing updates.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker can degrade or deny availability of an application hosted by an affected Kestrel instance. Repeated malicious client interactions may retain server resources through connections that Kestrel does not disconnect, preventing legitimate clients from being served.
If you can’t patch tonight, do this now.
Place affected applications behind a reverse proxy or web application firewall that provides HTTP-layer attack protections to reduce direct exposure. Apply connection, request, and rate limits appropriate to the deployment while updates are being deployed.
Patch, then assume compromise.
Apply the August 2023 Microsoft security updates. Upgrade to .NET 7 Runtime 7.0.10 or SDK 7.0.110, .NET 6 Runtime 6.0.21 or SDK 6.0.316, and ASP.NET Core 2.1 packages version 2.1.40 where applicable. Update affected NuGet dependencies and recompile and redeploy self-contained applications. Restart applications after deployment to load the patched runtime and components.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.