В Eclipse Jetty версий 12.0.0-12.0.31 и 12.1.0-12.0.5 класс GzipHandler представляет уязвимость, когда сжатый HTTP-запрос с Content-Encoding: gzip обрабатывается, а соответствующий ответ не сжимается.
Это происходит потому, что JDK Inflater выделен для распаковки запроса, но не освобождается, поскольку механизм выпуска привязан к сжатому ответу.
В этом случае, поскольку ответ не сжимается, механизм разблокировки не срабатывает, вызывая утечку.
Показать оригинальное описание (EN)
In Eclipse Jetty, versions 12.0.0-12.0.31 and 12.1.0-12.0.5, class GzipHandler exposes a vulnerability when a compressed HTTP request, with Content-Encoding: gzip, is processed and the corresponding response is not compressed. This happens because the JDK Inflater is allocated for decompressing the request, but it is not released because the release mechanism is tied to the compressed response. In this case, since the response is not compressed, the release mechanism does not trigger, causing the leak.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 2
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Eclipse Jetty
cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*
|
12.0.0
|
12.0.32
|
|
Eclipse Jetty
cpe:2.3:a:eclipse:jetty:*:*:*:*:*:*:*:*
|
12.1.0
|
12.1.6
|