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 package | Versions | Reported by |
|---|---|---|
| netty netty | < 4.1.61.Final, before 4.1.61 | CVE List, NVD |
| io.netty:netty-codec-http2 (Maven) | from 4.0.0 before 4.1.61.Final | GitHub Advisory Database |
| org.jboss.netty:netty (Maven) | all versions | GitHub Advisory Database |
| io.netty:netty (Maven) | all versions | GitHub Advisory Database |
| debian debian_linux | 10.0 | NVD |
| netapp oncommand_api_services | Not specified | NVD |
| netapp oncommand_workflow_automation | Not specified | NVD |
| oracle banking_corporate_lending_process_management | 14.2.0, 14.3.0, 14.5.0 | NVD |
| oracle banking_credit_facilities_process_management | 14.2.0, 14.3.0, 14.5.0 | NVD |
| oracle banking_trade_finance_process_management | 14.2.0, 14.3.0, 14.5.0 | NVD |
| oracle coherence | 12.2.1.4.0, 14.1.1.0.0 | NVD |
| oracle communications_brm_-_elastic_charging_engine | 12.0.0.3 | NVD |
| oracle communications_cloud_native_core_console | 1.7.0 | NVD |
| oracle communications_cloud_native_core_policy | 1.14.0 | NVD |
| oracle communications_design_studio | 7.4.2.0.0 | NVD |
| oracle communications_messaging_server | 8.1 | NVD |
| oracle helidon | 1.4.10, 2.4.0 | NVD |
| oracle jd_edwards_enterpriseone_tools | before 9.2.6.3 | NVD |
| oracle nosql_database | before 21.1.12 | NVD |
| oracle primavera_gateway | from 17.12.0 up to 17.12.11, from 18.8.0 up to 18.8.11, from 19.12.0 up to 19.12.10 | NVD |
| quarkus quarkus | up to 1.13.7 | NVD |
All scores
| GitHub_M | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
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. 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. El encabezado content-length no es comprobado correctamente si la petición solo usa un único Http2HeaderFrame con endStream establecido en verdadero. 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. Este es un seguimiento de GHSA-wm47-8v5p-wjpj/CVE-2021-21295 que no pudo solucionar este caso. Esto se corrigió como parte de la versión 4.1.61.Final.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21409 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f256-j965-7f32 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-21409 changed 2026-10-08 | Public domain |