7.3high
Netty: HttpClientCodec response desynchronization
- Severity
- 7.3high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.72% (higher than 50% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-57rv-r2g8-2cj3
Description
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, HttpClientCodec pairs each inbound response with an outbound request by queue.poll() once per response, including for 1xx. If the client pipelines GET then HEAD and the server sends 103, then 200 with GET body, then 200 for HEAD, the queue pairs HEAD with the first 200. The HEAD rule then skips reading that message’s body, so the GET entity bytes stay on the stream and the following 200 is parsed from the wrong offset. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| netty netty | >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final, before 4.1.133, from 4.2.0 before 4.2.13 | CVE List, NVD |
| io.netty netty-codec-http | >= 4.2.0.Alpha1, < 4.2.13.Final, < 4.1.133.Final | CVE List |
| cryostat/cryostat-reports-rhel9 | Not specified Not affected: from 4.2.0-10 before * | CVE List |
| cryostat/cryostat-rhel9 | Not specified Not affected: from 4.2.0-10 before * | CVE List |
| cryostat/jfr-datasource-rhel9 | Not specified Not affected: from 4.2.0-10 before * | CVE List |
| netty | Not specified Not affected: from codec-http before * | CVE List |
| Red Hat Red Hat build of Quarkus 3.33.2 | Not specified | CVE List |
| eap7-activemq-artemis | Not specified Not affected: from 0:2.16.0-22.redhat_00057.1.el7eap before *, from 0:2.16.0-22.redhat_00057.1.el8eap before *, from 0:2.16.0-22.redhat_00057.1.el9eap before * | CVE List |
| eap7-glassfish-jsf | Not specified Not affected: from 0:2.3.14-11.SP11_redhat_00001.1.el7eap before *, from 0:2.3.14-11.SP11_redhat_00001.1.el8eap before *, from 0:2.3.14-11.SP11_redhat_00001.1.el9eap before * | CVE List |
| eap7-ironjacamar | Not specified Not affected: from 0:1.5.26-2.Final_redhat_00001.1.el7eap before *, from 0:1.5.26-2.Final_redhat_00001.1.el8eap before *, from 0:1.5.26-2.Final_redhat_00001.1.el9eap before * | CVE List |
| eap7-jackson-annotations | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-core | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-databind | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-jaxrs-providers | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-modules-base | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jackson-modules-java8 | Not specified Not affected: from 0:2.18.8-1.redhat_00003.1.el7eap before *, from 0:2.18.8-1.redhat_00003.1.el8eap before *, from 0:2.18.8-1.redhat_00003.1.el9eap before * | CVE List |
| eap7-jboss-remoting | Not specified Not affected: from 0:5.0.31-3.SP2_redhat_00001.1.el7eap before *, from 0:5.0.31-3.SP2_redhat_00001.1.el8eap before *, from 0:5.0.31-3.SP2_redhat_00001.1.el9eap before * | CVE List |
| eap7-jboss-server-migration | Not specified Not affected: from 0:1.10.0-46.Final_redhat_00044.1.el7eap before *, from 0:1.10.0-46.Final_redhat_00044.1.el8eap before *, from 0:1.10.0-46.Final_redhat_00044.1.el9eap before * | CVE List |
| eap7-netty | Not specified Not affected: from 0:4.1.135-1.Final_redhat_00001.1.el7eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el8eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el9eap before * | CVE List |
| eap7-netty-transport-native-epoll | Not specified Not affected: from 0:4.1.135-1.Final_redhat_00001.1.el7eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el8eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el9eap before * | CVE List |
| eap7-picketlink-bindings | Not specified Not affected: from 0:2.5.5-30.SP12_redhat_00020.1.el7eap before *, from 0:2.5.5-30.SP12_redhat_00020.1.el8eap before *, from 0:2.5.5-30.SP12_redhat_00020.1.el9eap before * | CVE List |
| eap7-picketlink-federation | Not specified Not affected: from 0:2.5.5-24.SP12_redhat_00016.1.el7eap before *, from 0:2.5.5-24.SP12_redhat_00016.1.el8eap before *, from 0:2.5.5-24.SP12_redhat_00016.1.el9eap before * | CVE List |
| eap7-undertow | Not specified Not affected: from 0:2.2.40-2.SP3_redhat_00001.1.el7eap before *, from 0:2.2.40-1.SP3_redhat_00001.1.el8eap before *, from 0:2.2.40-1.SP3_redhat_00001.1.el9eap before * | CVE List |
| eap7-wildfly | Not specified Not affected: from 0:7.4.25-2.GA_redhat_00001.1.el7eap before *, from 0:7.4.25-2.GA_redhat_00001.1.el8eap before *, from 0:7.4.25-2.GA_redhat_00001.1.el9eap before * | CVE List |
| io.netty/netty-codec-http | Not specified Not affected: from 4.1.135.Final-redhat-00001 before * | CVE List |
| eap8-eap-product-conf-parent | Not specified Not affected: from 0:801.7.1-1.GA_redhat_00001.1.el10eap before *, from 0:801.7.1-1.GA_redhat_00001.1.el8eap before *, from 0:801.7.1-1.GA_redhat_00001.1.el9eap before * | CVE List |
| eap8-netty | Not specified Not affected: from 0:4.1.135-1.Final_redhat_00001.1.el10eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el8eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el9eap before * | CVE List |
| eap8-netty-transport-native-epoll | Not specified Not affected: from 0:4.1.135-1.Final_redhat_00001.1.el10eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el8eap before *, from 0:4.1.135-1.Final_redhat_00001.1.el9eap before * | CVE List |
| eap8-wildfly | Not specified Not affected: from 0:8.1.7.1-1.GA_redhat_00004.1.el10eap before *, from 0:8.1.7.1-1.GA_redhat_00004.1.el8eap before *, from 0:8.1.7.1-1.GA_redhat_00004.1.el9eap before * | CVE List |
| eap8-jose4j | Not specified Not affected: from 0:0.9.6-2.redhat_00002.1.el8eap before *, from 0:0.9.6-2.redhat_00002.1.el9eap before * | CVE List |
| rhoai/odh-modelmesh-rhel9 | Not specified Not affected: from 1783443816 before * | CVE List |
| rhoai/odh-trustyai-service-rhel9 | Not specified Not affected: from 1788198681 before * | CVE List |
| devspaces/openvsx-rhel9 | Not specified Not affected: from 1780948325 before * | CVE List |
| devspaces/pluginregistry-rhel9 | Not specified Not affected: from 1780696380 before * | CVE List |
| devspaces/server-rhel9 | Not specified Not affected: from 1780694994 before * | CVE List |
| devspaces/multicluster-redirector-rhel9 | Not specified Not affected: from 1782989027 before * | CVE List |
| openshift-serverless-1/kn-ekb-dispatcher-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-ekb-receiver-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9 | Not specified | CVE List |
| openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9 | Not specified | CVE List |
| netty-codec-http | Not specified | CVE List |
| rhbk/keycloak-rhel9 | Not specified | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified | CVE List |
| rhbk-openshift-rhel9/rhbk-openshift-rhel9 | Not specified | CVE List |
| rhbk-rhel9-operator/rhbk-rhel9-operator | Not specified | CVE List |
| bazel6 | Not specified | CVE List |
| bazel7 | Not specified | CVE List |
| bazel8 | Not specified | CVE List |
| rhoai/odh-modelmesh-rhel8 | Not specified | CVE List |
| rhoai/odh-spark-operator-rhel9 | Not specified | CVE List |
| rhoai/odh-th06-cpu-torch210-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-th06-cpu-torch291-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-th06-cuda130-torch210-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-th06-cuda130-torch291-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-th06-rocm64-torch291-py312-rhel9 | Not specified | CVE List |
| rhoai/odh-trustyai-service-rhel8 | Not specified | CVE List |
| candlepin | Not specified | CVE List |
| satellite:el8/candlepin | Not specified | CVE List |
| io.netty:netty-codec-http (Maven) | from 4.2.0.Alpha1 before 4.2.13.Final, before 4.1.133.Final | GitHub Advisory Database |
All scores
| GitHub_M | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| redhat-SADP | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
Netty is an asynchronous, event-driven network application framework. Prior to 4.2.13.Final and 4.1.133.Final, HttpClientCodec pairs each inbound response with an outbound request by queue.poll() once per response, including for 1xx. If the client pipelines GET then HEAD and the server sends 103, then 200 with GET body, then 200 for HEAD, the queue pairs HEAD with the first 200. The HEAD rule then skips reading that message’s body, so the GET entity bytes stay on the stream and the following 200 is parsed from the wrong offset. This vulnerability is fixed in 4.2.13.Final and 4.1.133.Final.
GitHub Advisory Database
Summary
If HttpClientCodec is configured, there are use cases when a response body from one request, can be parsed as another's.
Details
HttpClientCodec pairs each inbound response with an outbound request by queue.poll() once per response, including for 1xx. If the client pipelines GET then HEAD and the server sends 103, then 200 with GET body, then 200 for HEAD, the queue pairs HEAD with the first 200. The HEAD rule then skips reading that message’s body, so the GET entity bytes stay on the stream and the following 200 is parsed from the wrong offset.
Prerequisites
- HTTP/1.1 pipelining
- HEAD in the pipeline
- The server sends 1xx
PoC
@Test
public void test() {
EmbeddedChannel channel = new EmbeddedChannel(new HttpClientCodec());
assertTrue(channel.writeOutbound(new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.GET, "/1")));
ByteBuf request = channel.readOutbound();
request.release();
assertNull(channel.readOutbound());
assertTrue(channel.writeOutbound(new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.HEAD, "/2")));
request = channel.readOutbound();
request.release();
assertNull(channel.readOutbound());
String responseStr = "HTTP/1.1 103 Early Hints\r\n\r\n" +
"HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\nhello" +
"HTTP/1.1 200 OK\r\n\r\n";
assertTrue(channel.writeInbound(Unpooled.copiedBuffer(responseStr, CharsetUtil.US_ASCII)));
// Response 1
HttpResponse response = channel.readInbound();
assertEquals(HttpResponseStatus.EARLY_HINTS, response.status());
LastHttpContent last = channel.readInbound();
assertEquals(0, last.content().readableBytes());
last.release();
// Response 2
response = channel.readInbound();
assertEquals(HttpResponseStatus.OK, response.status());
last = channel.readInbound();
assertEquals(0, last.content().readableBytes());
last.release();
// Response 3
FullHttpResponse response1 = channel.readInbound();
assertTrue(response1.decoderResult().isFailure());
assertEquals(0, response1.content().readableBytes());
response1.release();
assertFalse(channel.finish());
}
Impact
Integrity/availability of HTTP parsing on that connection, unsafe reuse of the socket.
NVD (es)
Netty es un framework de aplicación de red asíncrono y basado en eventos. Antes de las versiones 4.2.13.Final y 4.1.133.Final, HttpClientCodec empareja cada respuesta entrante con una solicitud saliente mediante queue.poll() una vez por respuesta, incluso para las 1xx. Si el cliente encadena GET y luego HEAD, y el servidor envía 103, luego 200 con el cuerpo de GET, y luego 200 para HEAD, la cola empareja HEAD con el primer 200. La regla de HEAD entonces omite la lectura del cuerpo de ese mensaje, por lo que los bytes de la entidad GET permanecen en el flujo y el siguiente 200 se analiza desde un desplazamiento incorrecto. Esta vulnerabilidad está corregida en las versiones 4.2.13.Final y 4.1.133.Final.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-42584 changed 2026-09-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-57rv-r2g8-2cj3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-42584 changed 2026-10-26 | Public domain |