GHSA-xpw8-rcwv-8f8p: Netty codec http2 Netty-codec-http2 Vulnerable To HTTP/2 Rapid Vulnerability
HIGHGHSA-xpw8-rcwv-8f8p is a HIGH (CVSS 7.5) netty-codec-http2 vulnerable to http/2 rapid vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Netty codec http2 libraries in the Maven ecosystem. The issue involves netty-codec-http2 vulnerable to http/2 rapid reset attack. Remediation is available by upgrading affected packages to version 4.1.100.Final.
GHSA-xpw8-rcwv-8f8p at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix GHSA-xpw8-rcwv-8f8p
To remediate this vulnerability, upgrade all affected Netty codec http2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec-http2</artifactId>
<version>4.1.100.Final</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.netty
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-xpw8-rcwv-8f8p, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.netty
Analyze the terminal output to locate any version of Netty codec http2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.100.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.netty command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Netty codec http2, 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-xpw8-rcwv-8f8p Affected Netty codec http2 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.netty:netty-codec-http2
|
Maven |
< 4.1.100.Final
|
4.1.100.Final
|
References
Frequently Asked Questions
What is GHSA-xpw8-rcwv-8f8p?
Which Netty codec http2 versions are affected?
What version fixes GHSA-xpw8-rcwv-8f8p?
Is netty-codec-http2 affected?
What is the CVSS score of GHSA-xpw8-rcwv-8f8p?
What CWE is associated with GHSA-xpw8-rcwv-8f8p?
How can I check Maven dependencies for GHSA-xpw8-rcwv-8f8p?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xpw8-rcwv-8f8p",
"modified" : "2023-11-06T22:08:35Z",
"published" : "2023-10-10T22:22:54Z",
"aliases" : [ ],
"summary" : "io.netty:netty-codec-http2 vulnerable to HTTP/2 Rapid Reset Attack",
"details" : "A client might overload the server by issue frequent RST frames. This can cause a massive amount of load on the remote system and so cause a DDOS attack. \n\n### Impact\nThis is a DDOS attack, any http2 server is affected and so you should update as soon as possible.\n\n### Patches\nThis is patched in version 4.1.100.Final.\n\n### Workarounds\nA user can limit the amount of RST frames that are accepted per connection over a timeframe manually using either an own `Http2FrameListener` implementation or an `ChannelInboundHandler` implementation (depending which http2 API is used).\n\n### References\n- https://www.cve.org/CVERecord?id=CVE-2023-44487\n- https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/\n- https://cloud.google.com/blog/products/identity-security/google-cloud-mitigated-largest-ddos-attack-peaking-above-398-million-rps/",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.netty:netty-codec-http2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.100.Final"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/apple/swift-nio-http2/security/advisories/GHSA-qppj-fm5r-hxr3"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty/security/advisories/GHSA-xpw8-rcwv-8f8p"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-44487"
}, {
"type" : "WEB",
"url" : "https://github.com/netty/netty/commit/58f75f665aa81a8cbcf6ffa74820042a285c5e61"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/netty/netty"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord?id=CVE-2023-44487"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-10T22:22:54Z",
"nvd_published_at" : null
}
}