Vulnerabilities in pkg:maven/org.eclipse.jetty.http3/http3-common
PACKAGECVE-2024-22201 is a HIGH (CVSS 7.5) connection leaking on idle timeout vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Http2 common libraries in the Maven ecosystem. The issue involves connection leaking on idle timeout when tcp congested. Remediation is available by upgrading affected packages to version 9.4.54, 10.0.20, 11.0.20, 12.0.6.
pkg:maven/org.eclipse.jetty.http3/http3-common
Vulnerability advisories affecting package pkg:maven/org.eclipse.jetty.http3/http3-common. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rggv-cv7r-mw98 | CVE-2024-22201 | HIGH | Connection leaking on idle timeout when TCP congested |
CVE-2024-22201 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 CVE-2024-22201
To remediate this vulnerability, upgrade all affected Http2 common 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>org.eclipse.jetty.http2</groupId>
<artifactId>http2-common</artifactId>
<version>9.4.54</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-common</artifactId>
<version>10.0.20</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http3</groupId>
<artifactId>http3-common</artifactId>
<version>10.0.20</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-common</artifactId>
<version>11.0.20</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http3</groupId>
<artifactId>http3-common</artifactId>
<version>11.0.20</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>jetty-http2-common</artifactId>
<version>12.0.6</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http3</groupId>
<artifactId>jetty-http3-common</artifactId>
<version>12.0.6</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.eclipse.jetty.http2
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-22201, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.eclipse.jetty.http2
Analyze the terminal output to locate any version of Http2 common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.4.54), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.eclipse.jetty.http2 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 Http2 common, 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
CVE-2024-22201 Affected Http2 common Versions
7 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.eclipse.jetty.http2:http2-common
|
Maven |
≥ 9.3.0
< 9.4.54
|
9.4.54
|
|
org.eclipse.jetty.http2:http2-common
|
Maven |
≥ 10.0.0
< 10.0.20
|
10.0.20
|
|
org.eclipse.jetty.http3:http3-common
|
Maven |
≥ 10.0.8
< 10.0.20
|
10.0.20
|
|
org.eclipse.jetty.http2:http2-common
|
Maven |
≥ 11.0.0
< 11.0.20
|
11.0.20
|
|
org.eclipse.jetty.http3:http3-common
|
Maven |
≥ 11.0.8
< 11.0.20
|
11.0.20
|
|
org.eclipse.jetty.http2:jetty-http2-common
|
Maven |
≥ 12.0.0
< 12.0.6
|
12.0.6
|
|
org.eclipse.jetty.http3:jetty-http3-common
|
Maven |
≥ 12.0.0
< 12.0.6
|
12.0.6
|
References
Frequently Asked Questions
What is CVE-2024-22201?
Which Http2 common versions are affected?
What version fixes CVE-2024-22201?
Is http2-common affected?
Is http3-common affected?
What is the CVSS score of CVE-2024-22201?
What CWE is associated with CVE-2024-22201?
How can I check Maven dependencies for CVE-2024-22201?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rggv-cv7r-mw98",
"modified" : "2025-02-07T20:44:34Z",
"published" : "2024-02-26T20:13:46Z",
"aliases" : [ "CVE-2024-22201" ],
"summary" : "Connection leaking on idle timeout when TCP congested",
"details" : "### Impact\nIf an HTTP/2 connection gets TCP congested, when an idle timeout occurs the HTTP/2 session is marked as closed, and then a GOAWAY frame is queued to be written.\nHowever it is not written because the connection is TCP congested.\nWhen another idle timeout period elapses, it is then supposed to hard close the connection, but it delegates to the HTTP/2 session which reports that it has already been closed so it does not attempt to hard close the connection.\n\nThis leaves the connection in ESTABLISHED state (i.e. not closed), TCP congested, and idle.\n\nAn attacker can cause many connections to end up in this state, and the server may run out of file descriptors, eventually causing the server to stop accepting new connections from valid clients.\n\nThe client may also be impacted (if the server does not read causing a TCP congestion), but the issue is more severe for servers.\n\n### Patches\nPatched versions:\n* 9.4.54\n* 10.0.20\n* 11.0.20\n* 12.0.6\n\n### Workarounds\nDisable HTTP/2 and HTTP/3 support until you can upgrade to a patched version of Jetty.\nHTTP/1.x is not affected.\n\n### References\n* https://github.com/jetty/jetty.project/issues/11256.",
"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" : "org.eclipse.jetty.http2:http2-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.3.0"
}, {
"fixed" : "9.4.54"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 9.4.53"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty.http2:http2-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.0"
}, {
"fixed" : "10.0.20"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 10.0.19"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty.http3:http3-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "10.0.8"
}, {
"fixed" : "10.0.20"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 10.0.19"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty.http2:http2-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0.0"
}, {
"fixed" : "11.0.20"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 11.0.19"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty.http3:http3-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0.8"
}, {
"fixed" : "11.0.20"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 11.0.19"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty.http2:jetty-http2-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0"
}, {
"fixed" : "12.0.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 12.0.5"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.jetty.http3:jetty-http3-common"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "12.0.0"
}, {
"fixed" : "12.0.6"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 12.0.5"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/jetty/jetty.project/security/advisories/GHSA-rggv-cv7r-mw98"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-22201"
}, {
"type" : "WEB",
"url" : "https://github.com/jetty/jetty.project/issues/11256"
}, {
"type" : "WEB",
"url" : "https://github.com/jetty/jetty.project/issues/11259"
}, {
"type" : "WEB",
"url" : "https://github.com/jetty/jetty.project/commit/0839a208cdc3fcfe25206a77af59ba9fda260188"
}, {
"type" : "WEB",
"url" : "https://github.com/jetty/jetty.project/commit/b953871c9a5ff4fbca4a2499848f75182dbd9810"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jetty/jetty.project"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2024/04/msg00002.html"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20240329-0001"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/03/20/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-26T20:13:46Z",
"nvd_published_at" : "2024-02-26T16:27:56Z"
}
}