HTTP/2 Stream Cancellation Attack
CISA confirma la explotación de esta vulnerabilidad en ataques reales. Prioriza comprobar si afecta a tu aplicación. CISA KEV · CC0 1.0
HTTP/2 Rapid reset attack
The HTTP/2 protocol allows clients to indicate to the server that a previous stream should be canceled by sending a RST_STREAM frame. The protocol does not require the client and server to coordinate the cancellation in any way, the client may do it unilaterally. The client may also assume that the cancellation will take effect immediately when the server receives the RST_STREAM frame, before any other data from that TCP connection is processed.
Abuse of this feature is called a Rapid Reset attack because it relies on the ability for an endpoint to send a RST_STREAM frame immediately after sending a request frame, which makes the other endpoint start working and then rapidly resets the request. The request is canceled, but leaves the HTTP/2 connection open.
The HTTP/2 Rapid Reset attack built on this capability is simple: The client opens a large number of streams at once as in the standard HTTP/2 attack, but rather than waiting for a response to each request stream from the server or proxy, the client cancels each request immediately.
The ability to reset streams immediately allows each connection to have an indefinite number of requests in flight. By explicitly canceling the requests, the attacker never exceeds the limit on the number of concurrent open streams. The number of in-flight requests is no longer dependent on the round-trip time (RTT), but only on the available network bandwidth.
In a typical HTTP/2 server implementation, the server will still have to do significant amounts of work for canceled requests, such as allocating new stream data structures, parsing the query and doing header decompression, and mapping the URL to a resource. For reverse proxy implementations, the request may be proxied to the backend server before the RST_STREAM frame is processed. The client on the other hand paid almost no costs for sending the requests. This creates an exploitable cost asymmetry between the server and the client.
Multiple software artifacts implementing HTTP/2 are affected. This advisory was originally ingested from the swift-nio-http2 repo advisory and their original conent follows.
swift-nio-http2 specific advisory
swift-nio-http2 is vulnerable to a denial-of-service vulnerability in which a malicious client can create and then reset a large number of HTTP/2 streams in a short period of time. This causes swift-nio-http2 to commit to a large amount of expensive work which it then throws away, including creating entirely new Channels to serve the traffic. This can easily overwhelm an EventLoop and prevent it from making forward progress.
swift-nio-http2 1.28 contains a remediation for this issue that applies reset counter using a sliding window. This constrains the number of stream resets that may occur in a given window of time. Clients violating this limit will have their connections torn down. This allows clients to continue to cancel streams for legitimate reasons, while constraining malicious actors.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Java / Kotlin (Maven) | com.typesafe.akka:akka-http-core | < 10.5.3 | 10.5.3 |
| Java / Kotlin (Maven) | com.typesafe.akka:akka-http-core_2.11 | <= 10.1.15 | sin corrección |
| Java / Kotlin (Maven) | com.typesafe.akka:akka-http-core_2.12 | < 10.5.3 | 10.5.3 |
| Java / Kotlin (Maven) | com.typesafe.akka:akka-http-core_2.13 | < 10.5.3 | 10.5.3 |
| Java / Kotlin (Maven) | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M1, < 11.0.0-M12, >= 10.0.0, < 10.1.14, >= 9.0.0, < 9.0.81, >= 8.5.0, < 8.5.94 | 11.0.0-M12, 10.1.14, 9.0.81, 8.5.94 |
| Java / Kotlin (Maven) | org.apache.tomcat:tomcat-coyote | >= 11.0.0-M1, < 11.0.0-M12, >= 10.0.0, < 10.1.14, >= 9.0.0, < 9.0.81, >= 8.5.0, < 8.5.94 | 11.0.0-M12, 10.1.14, 9.0.81, 8.5.94 |
| Java / Kotlin (Maven) | org.eclipse.jetty.http2:http2-common | >= 9.3.0, < 9.4.53, >= 10.0.0, < 10.0.17, >= 11.0.0, < 11.0.17 | 9.4.53, 10.0.17, 11.0.17 |
| Java / Kotlin (Maven) | org.eclipse.jetty.http2:http2-server | >= 9.3.0, < 9.4.53, >= 10.0.0, < 10.0.17, >= 11.0.0, < 11.0.17 | 9.4.53, 10.0.17, 11.0.17 |
| Java / Kotlin (Maven) | org.eclipse.jetty.http2:jetty-http2-common | >= 12.0.0, < 12.0.2 | 12.0.2 |
| Java / Kotlin (Maven) | org.eclipse.jetty.http2:jetty-http2-server | >= 12.0.0, < 12.0.2 | 12.0.2 |
Referencias
- https://github.com/apple/swift-nio-http2/security/advisories/GHSA-qppj-fm5r-hxr3
- https://github.com/h2o/h2o/security/advisories/GHSA-2m7v-gc89-fjqf
- https://nvd.nist.gov/vuln/detail/CVE-2023-44487
- https://github.com/alibaba/tengine/issues/1872
- https://github.com/apache/apisix/issues/10320
- https://github.com/akka/akka-http/issues/4323
- https://github.com/varnishcache/varnish-cache/issues/3996
- https://github.com/tempesta-tech/tempesta/issues/1986
- https://github.com/Azure/AKS/issues/3947
- https://github.com/opensearch-project/data-prepper/issues/3474
- https://github.com/caddyserver/caddy/issues/5877
- https://github.com/openresty/openresty/issues/930
- https://github.com/dotnet/announcements/issues/277
- https://github.com/eclipse/jetty.project/issues/10679
- https://github.com/etcd-io/etcd/issues/16740
- https://github.com/golang/go/issues/63417
- https://github.com/ninenines/cowboy/issues/1615
- https://github.com/haproxy/haproxy/issues/2312
- https://github.com/hyperium/hyper/issues/3337
- https://github.com/kazu-yamamoto/http2/issues/93
- https://github.com/junkurihara/rust-rpxy/issues/97
- https://github.com/microsoft/CBL-Mariner/pull/6381
- https://github.com/linkerd/website/pull/1695/commits/4b9c6836471bc8270ab48aae6fd2181bc73fd632
- https://github.com/line/armeria/pull/5232
- https://github.com/kubernetes/kubernetes/pull/121120
- https://github.com/apache/httpd-site/pull/10
- https://github.com/projectcontour/contour/pull/5826
- https://github.com/apache/trafficserver/pull/10564
- https://github.com/nghttp2/nghttp2/pull/1961
- https://github.com/h2o/h2o/pull/3291
- https://github.com/grpc/grpc-go/pull/6703
- https://github.com/nodejs/node/pull/50121
- https://github.com/envoyproxy/envoy/pull/30055
- https://github.com/facebook/proxygen/pull/466
- https://github.com/akka/akka-http/pull/4325
- https://github.com/akka/akka-http/pull/4324
- https://github.com/netty/netty/commit/58f75f665aa81a8cbcf6ffa74820042a285c5e61
- https://github.com/apache/tomcat/commit/944332bb15bd2f3bf76ec2caeb1ff0a58a3bc628
- https://github.com/kazu-yamamoto/http2/commit/f61d41a502bd0f60eb24e1ce14edc7b6df6722a1
- https://lists.w3.org/Archives/Public/ietf-http-wg/2023OctDec/0025.html
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:H- Debilidad (CWE)
CWE-400- Plataforma
- Java / Kotlin (Maven)
- Paquete
com.typesafe.akka:akka-http-core, com.typesafe.akka:akka-http-core_2.11, com.typesafe.akka:akka-http-core_2.12- Publicada
- 10.10.2023
- Actualizado
- 11.10.2026 13:20
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-qppj-fm5r-hxr3 - CC BY 4.0
Historial de vulnerabilidades: com.typesafe.akka:akka-http-core
Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 2
- Primera → última
- 05.2021 10.2023
- Sin corrección
- 0
- Explotada en ataques
- 1
Distribución por gravedad
- Media 2
Divulgaciones por año
- 2021: 1
- 2022: 0
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
HTTP/2 Stream Cancellation Attack esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.