CVE-2021-21409
JSON

5.9medium

Possible request smuggling in HTTP/2 due missing validation of content-length

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
4.47% (higher than 91% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-f256-j965-7f32

Description

Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty (io.netty:netty-codec-http2) before version 4.1.61.Final there is a vulnerability that enables request smuggling. The content-length header is not correctly validated if the request only uses a single Http2HeaderFrame with the endStream set to to true. This could lead to request smuggling if the request is proxied to a remote peer and translated to HTTP/1.1. This is a followup of GHSA-wm47-8v5p-wjpj/CVE-2021-21295 which did miss to fix this one case. This was fixed as part of 4.1.61.Final.

Affected

Product or packageVersionsReported by
netty netty< 4.1.61.Final, before 4.1.61CVE List, NVD
io.netty:netty-codec-http2 (Maven)from 4.0.0 before 4.1.61.FinalGitHub Advisory Database
org.jboss.netty:netty (Maven)all versionsGitHub Advisory Database
io.netty:netty (Maven)all versionsGitHub Advisory Database
debian debian_linux10.0NVD
netapp oncommand_api_servicesNot specifiedNVD
netapp oncommand_workflow_automationNot specifiedNVD
oracle banking_corporate_lending_process_management14.2.0, 14.3.0, 14.5.0NVD
oracle banking_credit_facilities_process_management14.2.0, 14.3.0, 14.5.0NVD
oracle banking_trade_finance_process_management14.2.0, 14.3.0, 14.5.0NVD
oracle coherence12.2.1.4.0, 14.1.1.0.0NVD
oracle communications_brm_-_elastic_charging_engine12.0.0.3NVD

All scores

GitHub_M5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

CWE-444

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In Netty (io.netty:netty-codec-http2) before version 4.1.61.Final there is a vulnerability that enables request smuggling. The content-length header is not correctly validated if the request only uses a single Http2HeaderFrame with the endStream set to to true. This could lead to request smuggling if the request is proxied to a remote peer and translated to HTTP/1.1. This is a followup of GHSA-wm47-8v5p-wjpj/CVE-2021-21295 which did miss to fix this one case. This was fixed as part of 4.1.61.Final.

GitHub Advisory Database
Impact

The content-length header is not correctly validated if the request only use a single Http2HeaderFrame with the endStream set to to true. This could lead to request smuggling if the request is proxied to a remote peer and translated to HTTP/1.1

This is a followup of https://github.com/netty/netty/security/advisories/GHSA-wm47-8v5p-wjpj which did miss to fix this one case.

Patches

This was fixed as part of 4.1.61.Final

Workarounds

Validation can be done by the user before proxy the request by validating the header.

NVD (es)

Netty es un framework de aplicación de red de código abierto y asíncrono event-driven para el desarrollo rápido de servidores y clientes de protocolo de alto rendimiento mantenibles.&#xa0;En Netty (io.netty:netty-codec-http2) versiones anteriores a 4.1.61.Final se presenta una vulnerabilidad que permite el trafico no autorizado de peticiones.&#xa0;El encabezado content-length no es comprobado correctamente si la petición solo usa un único Http2HeaderFrame con endStream establecido en verdadero.&#xa0;Esto podría conllevar al trafico no autorizado de peticiones si la petición se envía a un peer remoto y se traduce a HTTP/1.1.&#xa0;Este es un seguimiento de GHSA-wm47-8v5p-wjpj/CVE-2021-21295 que no pudo solucionar este caso.&#xa0;Esto se corrigió como parte de la versión 4.1.61.Final.

References

https://github.com/netty/netty/security/advisories/GHSA-f256-j965-7f32third-party-advisory, web
https://github.com/netty/netty/security/advisories/GHSA-wm47-8v5p-wjpjthird-party-advisory, web
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21295third-party-advisory, web
https://github.com/netty/netty/commit/b0fa4d5aab4215f3c22ce6123dd8dd5f38dc0432patch, third-party-advisory, web
https://www.debian.org/security/2021/dsa-4885third-party-advisory, vendor-advisory, web
https://lists.apache.org/thread.html/r70c3a7bfa904f06a1902f4df20ee26e4f09a46b8fd3eb304dc57a2de%40%3Cdev.zookeeper.apache.org%3Emailing-list
https://lists.apache.org/thread.html/ra66e93703e3f4bd31bdfd0b6fb0c32ae96b528259bb1aa2b6d38e401%40%3Cissues.zookeeper.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r2732aa3884cacfecac4c54cfaa77c279ba815cad44b464a567216f83%40%3Cissues.zookeeper.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r0ca82fec33334e571fe5b388272260778883e307e15415d7b1443de2%40%3Cissues.zookeeper.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r823d4b27fcba8dad5fe945bdefce3ca5a0031187966eb6ef3cc22ba9%40%3Cissues.zookeeper.apache.org%3Emailing-list
https://lists.apache.org/thread.html/r101f82d8f3b5af0bf79aecbd5b2dd3b404f6bb51d1a54c2c3d29bed9%40%3Cnotifications.zookeeper.apache.org%3Emailing-list
https://lists.apache.org/thread.html/rf521ff2be2e2dd38984174d3451e6ee935c845948845c8fccd86371d%40%3Cissues.zookeeper.apache.org%3Emailing-list

Sources

SourceRecordLicence
CVE ListCVE-2021-21409 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-f256-j965-7f32 changed 2026-09-10CC-BY-4.0
NVDCVE-2021-21409 changed 2026-10-08Public domain