Netty's HttpServerCodec (io.netty:netty-codec-http) in versions 4.2.0.Final through 4.2.16.Final and in versions up to and including 4.1.136.Final pairs each outbound response with an inbound request by calling pollMethod() once per response, including for 1xx informational responses. Если клиент перенаправляет HTTP/1.1 GET с заголовком Expect: 100-continue, за которым следует запрос HEAD, ответ 100 Continue потребляет метод GET в очереди, поэтому последующие 200 OK для GET соединяются с HEAD, и его тело сбрасывается, в то время как следующие 200 OK для запроса HEAD пишутся с телом. Это десинхронизирует соединение HTTP: объект GET никогда не поставляется, а тело ответа HEAD интерпретируется как тело GET, что приводит к разделению ответа и повторному использованию небезопасного соединения.
Исправлено в 4.2.17.Final и 4.1.137.Final.
Показать оригинальное описание (EN)
Netty's HttpServerCodec (io.netty:netty-codec-http) in versions 4.2.0.Final through 4.2.16.Final and in versions up to and including 4.1.136.Final pairs each outbound response with an inbound request by calling pollMethod() once per response, including for 1xx informational responses. If a client pipelines an HTTP/1.1 GET carrying an Expect: 100-continue header followed by a HEAD request, the 100 Continue response consumes the queued GET method, so the subsequent 200 OK for the GET is paired with HEAD and its body is dropped, while the following 200 OK for the HEAD request is written with a body. This desynchronizes HTTP parsing on the connection: the GET entity is never delivered and the HEAD response body is interpreted as the GET body, resulting in response splitting and unsafe connection reuse. Fixed in 4.2.17.Final and 4.1.137.Final.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 2
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Netty Netty
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
|
4.2.0.final
|
4.2.17.final
|
|
Netty Netty
cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*
|
— |
4.1.137.final
|