Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1yZ2d2LWN2N3ItbXc5OM4AA5gs

Connection leaking on idle timeout when TCP congested

Impact

If 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.
However it is not written because the connection is TCP congested.
When 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.

This leaves the connection in ESTABLISHED state (i.e. not closed), TCP congested, and idle.

An 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.

The client may also be impacted (if the server does not read causing a TCP congestion), but the issue is more severe for servers.

Patches

Patched versions:

Workarounds

Disable HTTP/2 and HTTP/3 support until you can upgrade to a patched version of Jetty.
HTTP/1.x is not affected.

References

Permalink: https://github.com/advisories/GHSA-rggv-cv7r-mw98
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yZ2d2LWN2N3ItbXc5OM4AA5gs
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 9 months ago
Updated: 7 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Identifiers: GHSA-rggv-cv7r-mw98, CVE-2024-22201
References: Repository: https://github.com/jetty/jetty.project
Blast Radius: 17.8

Affected Packages

maven:org.eclipse.jetty.http3:jetty-http3-common
Dependent packages: 4
Dependent repositories: 0
Downloads:
Affected Version Ranges: >= 12.0.0, <= 12.0.5
Fixed in: 12.0.6
All affected versions: 12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 12.0.5
All unaffected versions: 12.0.6, 12.0.7, 12.0.8, 12.0.9, 12.0.10, 12.0.11, 12.0.12, 12.0.13, 12.0.14, 12.0.15
maven:org.eclipse.jetty.http2:jetty-http2-common
Dependent packages: 4
Dependent repositories: 0
Downloads:
Affected Version Ranges: >= 12.0.0, <= 12.0.5
Fixed in: 12.0.6
All affected versions: 12.0.0, 12.0.1, 12.0.2, 12.0.3, 12.0.4, 12.0.5
All unaffected versions: 12.0.6, 12.0.7, 12.0.8, 12.0.9, 12.0.10, 12.0.11, 12.0.12, 12.0.13, 12.0.14, 12.0.15
maven:org.eclipse.jetty.http3:http3-common
Dependent packages: 4
Dependent repositories: 25
Downloads:
Affected Version Ranges: >= 11.0.8, <= 11.0.19, >= 10.0.8, <= 10.0.19
Fixed in: 11.0.20, 10.0.20
All affected versions: 10.0.8, 10.0.9, 10.0.10, 10.0.11, 10.0.12, 10.0.13, 10.0.14, 10.0.15, 10.0.16, 10.0.17, 10.0.18, 10.0.19, 11.0.8, 11.0.9, 11.0.10, 11.0.11, 11.0.12, 11.0.13, 11.0.14, 11.0.15, 11.0.16, 11.0.17, 11.0.18, 11.0.19
All unaffected versions: 10.0.20, 10.0.21, 10.0.22, 10.0.23, 10.0.24, 11.0.20, 11.0.21, 11.0.22, 11.0.23, 11.0.24
maven:org.eclipse.jetty.http2:http2-common
Dependent packages: 202
Dependent repositories: 235
Downloads:
Affected Version Ranges: >= 11.0.0, <= 11.0.19, >= 10.0.0, <= 10.0.19, >= 9.3.0, <= 9.4.53
Fixed in: 11.0.20, 10.0.20, 9.4.54
All affected versions: 10.0.0, 10.0.1, 10.0.2, 10.0.3, 10.0.4, 10.0.5, 10.0.6, 10.0.7, 10.0.8, 10.0.9, 10.0.10, 10.0.11, 10.0.12, 10.0.13, 10.0.14, 10.0.15, 10.0.16, 10.0.17, 10.0.18, 10.0.19, 11.0.0, 11.0.1, 11.0.2, 11.0.3, 11.0.4, 11.0.5, 11.0.6, 11.0.7, 11.0.8, 11.0.9, 11.0.10, 11.0.11, 11.0.12, 11.0.13, 11.0.14, 11.0.15, 11.0.16, 11.0.17, 11.0.18, 11.0.19
All unaffected versions: 10.0.20, 10.0.21, 10.0.22, 10.0.23, 10.0.24, 11.0.20, 11.0.21, 11.0.22, 11.0.23, 11.0.24