GHSA-cgpw-2gph-2r9g: Microsoft.AspNetCore.Server.Kestrel.Core Moderate Severity Vulnerability That Affects Vulnerability
MODERATEGHSA-cgpw-2gph-2r9g is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Microsoft.AspNetCore.Server.Kestrel.Core libraries in the NuGet ecosystem. The issue involves moderate severity vulnerability that affects microsoft.aspnetcore.all, microsoft.aspnetcore.app, and microsoft.aspnetcore.server.kestrel.core. Remediation is available by upgrading affected packages to version 2.0.4, 2.0.9, 2.1.2.
GHSA-cgpw-2gph-2r9g at a Glance
How to Fix GHSA-cgpw-2gph-2r9g
To remediate this vulnerability, upgrade all affected Microsoft.AspNetCore.Server.Kestrel.Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Microsoft.AspNetCore.Server.Kestrel.Core to 2.0.4
Upgrade Microsoft.AspNetCore.All to 2.0.9
Upgrade Microsoft.AspNetCore.App to 2.1.2
Upgrade Microsoft.AspNetCore.Server.Kestrel.Core to 2.1.2
Upgrade Microsoft.AspNetCore.All to 2.1.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Microsoft.AspNetCore.Server.Kestrel.Core
How to Check if You Are Affected
To determine whether your application is affected by GHSA-cgpw-2gph-2r9g, inspect your project dependencies for Microsoft.AspNetCore.Server.Kestrel.Core:
inspect dependencies for Microsoft.AspNetCore.Server.Kestrel.Core
Analyze the terminal output to locate any version of Microsoft.AspNetCore.Server.Kestrel.Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Microsoft.AspNetCore.Server.Kestrel.Core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-cgpw-2gph-2r9g Affected Microsoft.AspNetCore.Server.Kestrel.Core Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Microsoft.AspNetCore.Server.Kestrel.Core
|
NuGet |
≥ 2.0.0
< 2.0.4
|
2.0.4
|
|
Microsoft.AspNetCore.All
|
NuGet |
≥ 2.0.0
< 2.0.9
|
2.0.9
|
|
Microsoft.AspNetCore.App
|
NuGet |
≥ 2.1.0
< 2.1.2
|
2.1.2
|
|
Microsoft.AspNetCore.Server.Kestrel.Core
|
NuGet |
≥ 2.1.0
< 2.1.2
|
2.1.2
|
|
Microsoft.AspNetCore.All
|
NuGet |
≥ 2.1.0
< 2.1.2
|
2.1.2
|
References
Frequently Asked Questions
What is GHSA-cgpw-2gph-2r9g?
Which Microsoft.AspNetCore.Server.Kestrel.Core versions are affected?
What version fixes GHSA-cgpw-2gph-2r9g?
Is Microsoft.AspNetCore.Server.Kestrel.Core affected?
Is Microsoft.AspNetCore.All affected?
What CWE is associated with GHSA-cgpw-2gph-2r9g?
How can I check NuGet dependencies for GHSA-cgpw-2gph-2r9g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cgpw-2gph-2r9g",
"modified" : "2021-12-03T14:28:10Z",
"published" : "2018-10-16T19:59:59Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects Microsoft.AspNetCore.All, Microsoft.AspNetCore.App, and Microsoft.AspNetCore.Server.Kestrel.Core",
"details" : "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.\n\nThe update addresses the vulnerability by correcting how ASP.NET Core handles such requests.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.Server.Kestrel.Core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.All"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.Server.Kestrel.Core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.All"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/aspnet/Announcements/issues/311"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-cgpw-2gph-2r9g"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:31:39Z",
"nvd_published_at" : null
}
}