NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
.NET NuGet
Not in CISA KEV

Moderate severity vulnerability that affects Microsoft.AspNetCore.All, Microsoft.AspNetCore.App, and Microsoft.AspNetCore.Server.Kestrel.CoreGHSA-cgpw-2gph-2r9g

GHSA-cgpw-2gph-2r9g is a security vulnerability in Microsoft.AspNetCore.Server.Kestrel.Core. A fix is available for Microsoft.AspNetCore.Server.Kestrel.Core — see the affected versions and patch details below.

Published
Updated
Affected
5 pkgs
Patched
5 / 5
Exploits
None indexed
Exploitation data as of Dec 2, 2024 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

5 pkgs affected
.NETMicrosoft.AspNetCore.Server.Kestrel.Core.NETMicrosoft.AspNetCore.All.NETMicrosoft.AspNetCore.App.NETMicrosoft.AspNetCore.Server.Kestrel.Core.NETMicrosoft.AspNetCore.All

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.

Description

Microsoft is aware of a denial of service vulnerability in ASP.NET Core when a malformed request is terminated. An attacker who successfully exploited this vulnerability could cause a denial of service attack.

The update addresses the vulnerability by correcting how ASP.NET Core handles such requests.

Affected Packages

5 total 5 fixed
EcosystemPackageVulnerable rangeFix
.NETNuGetMicrosoft.AspNetCore.Server.Kestrel.Core≥ 2.0.0&&< 2.0.42.0.4dotnet add package Microsoft.AspNetCore.Server.Kestrel.Core --version 2.0.4
.NETNuGetMicrosoft.AspNetCore.All≥ 2.0.0&&< 2.0.92.0.9dotnet add package Microsoft.AspNetCore.All --version 2.0.9
.NETNuGetMicrosoft.AspNetCore.App≥ 2.1.0&&< 2.1.22.1.2dotnet add package Microsoft.AspNetCore.App --version 2.1.2
.NETNuGetMicrosoft.AspNetCore.Server.Kestrel.Core≥ 2.1.0&&< 2.1.22.1.2dotnet add package Microsoft.AspNetCore.Server.Kestrel.Core --version 2.1.2
.NETNuGetMicrosoft.AspNetCore.All≥ 2.1.0&&< 2.1.22.1.2dotnet add package Microsoft.AspNetCore.All --version 2.1.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Microsoft.AspNetCore.Server.Kestrel.Core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update Microsoft.AspNetCore.Server.Kestrel.Core to 2.0.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-cgpw-2gph-2r9g is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Frequently Asked Questions

Microsoft is aware of a denial of service vulnerability in ASP.NET Core when a malformed request is terminated. An attacker who successfully exploited this vulnerability could cause a denial of service attack. The update addresses the vulnerability by correcting how ASP.NET Core handles such requests.
O3 Security · Impact-Aware SCA

Is GHSA-cgpw-2gph-2r9g in your dependencies?

Find it across NuGet, including transitive dependencies.

Moderate severity vulnerability that affects…