CVE-2022-2048
Jetty vulnerable to Invalid HTTP/2 requests that can lead to denial of service
Description
Description
Invalid HTTP/2 requests (for example, invalid URIs) are incorrectly handled by writing a blocking error response directly from the selector thread. If the client manages to exhaust the HTTP/2 flow control window, or TCP congest the connection, the selector thread will be blocked trying to write the error response. If this is repeated for all the selector threads, the server becomes unresponsive, causing the denial of service.
Impact
A malicious client may render the server unresponsive.
Patches
The fix is available in Jetty versions 9.4.47. 10.0.10, 11.0.10.
Workarounds
No workaround available within Jetty itself. One possible workaround is to filter the requests before sending them to Jetty (for example in a proxy)
For more information
If you have any questions or comments about this advisory:
- Email us at security@webtide.com.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.eclipse.jetty.http2 » http2-server | < 9.4.47>= 10.0.0, < 10.0.10>= 11.0.0, < 11.0.10 | 9.4.47, 10.0.10, 11.0.10 |
Blast radius
41% of the dependent artifacts (545) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 7,248 |
| 2 hops | 15,481 |
| 3 hops | 15,485 |
| 4 hops | 10,353 |
| 5 hops | 9,155 |
| 6 hops | 19,518 |
Most used dependents
- com.github.tomakehurst » wiremock1,838 usages
- com.github.tomakehurst » wiremock-jre81,180 usages
- org.apache.solr » solr-core500 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.hive » hive-service301 usages
- org.eclipse.jetty.aggregate » jetty-all208 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- io.ktor » ktor-client-json-jvm189 usages
- org.apache.solr » solr-test-framework181 usages
- org.wso2.carbon.automation » org.wso2.carbon.automation.extensions159 usages
- io.confluent » kafka-schema-registry148 usages
- uk.gov.hmrc » bootstrap-test-play-27146 usages
- org.opencms » opencms-core134 usages
- io.pedestal » pedestal.jetty102 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Webhttps://github.com/eclipse/jetty.project/security/advisories/GHSA-wgmr-mf83-7x4j
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2022-2048
- Packagehttps://github.com/eclipse/jetty.project
- Webhttps://lists.debian.org/debian-lts-announce/2022/08/msg00011.html
- Webhttps://security.netapp.com/advisory/ntap-20220901-0006
- Webhttps://www.debian.org/security/2022/dsa-5198
- Webhttp://www.openwall.com/lists/oss-security/2022/09/09/2
