Ecosyste.ms: Advisories

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

Security Advisories: GSA_kwCzR0hTQS13Z21yLW1mODMtN3g0as4AAtJO

Jetty vulnerable to Invalid HTTP/2 requests that can lead to denial of service

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:

Permalink: https://github.com/advisories/GHSA-wgmr-mf83-7x4j
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13Z21yLW1mODMtN3g0as4AAtJO
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: over 1 year 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-wgmr-mf83-7x4j, CVE-2022-2048
References: Repository: https://github.com/eclipse/jetty.project
Blast Radius: 22.9

Affected Packages

maven:org.eclipse.jetty.http2:http2-server
Dependent packages: 370
Dependent repositories: 1,137
Downloads:
Affected Version Ranges: >= 11.0.0, < 11.0.10, >= 10.0.0, < 10.0.10, < 9.4.47
Fixed in: 11.0.10, 10.0.10, 9.4.47
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, 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
All unaffected versions: 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, 10.0.20, 10.0.21, 10.0.22, 10.0.23, 10.0.24, 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, 11.0.20, 11.0.21, 11.0.22, 11.0.23, 11.0.24