Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
.NET NuGet

GHSA-cgpw-2gph-2r9g

GHSA-cgpw-2gph-2r9g is a security vulnerability in Microsoft.AspNetCore.Server.Kestrel.Core. O3 Security confirms whether GHSA-cgpw-2gph-2r9g is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Moderate severity vulnerability that affects Microsoft.AspNetCore.All, Microsoft.AspNetCore.App, and Microsoft.AspNetCore.Server.Kestrel.Core

Published
Oct 16, 2018
Updated
Dec 2, 2024
Affected
5 pkgs
Patched
5 / 5
Exploits
None indexed

Blast Radius

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.Core2.0.0&&< 2.0.42.0.4
.NETNuGetMicrosoft.AspNetCore.All2.0.0&&< 2.0.92.0.9
.NETNuGetMicrosoft.AspNetCore.App2.1.0&&< 2.1.22.1.2
.NETNuGetMicrosoft.AspNetCore.Server.Kestrel.Core2.1.0&&< 2.1.22.1.2
.NETNuGetMicrosoft.AspNetCore.All2.1.0&&< 2.1.22.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. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  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

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-cgpw-2gph-2r9g is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-cgpw-2gph-2r9g. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

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?

O3 detects GHSA-cgpw-2gph-2r9g across NuGet dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.