CVE-2021-43797
JSON

6.5medium

HTTP fails to validate against control chars in header names which may lead to HTTP request smuggling

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
2.56% (higher than 85% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-wx5j-54mm-rqqq

Description

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final.

Affected

Product or packageVersionsReported by
netty netty<= 4.1.7.0.Final, before 4.1.71CVE List, NVD
io.netty:netty-codec-http (Maven)from 4.0.0 before 4.1.71.FinalGitHub Advisory Database
org.jboss.netty:netty (Maven)all versionsGitHub Advisory Database
io.netty:netty (Maven)all versionsGitHub Advisory Database
quarkus quarkusbefore 2.5.3NVD
netapp oncommand_workflow_automationNot specifiedNVD
netapp snapcenterNot specifiedNVD
oracle banking_deposits_and_lines_of_credit_servicing2.7NVD
oracle banking_party_management2.7.0NVD
oracle banking_platform2.6.2NVD
oracle coherence12.2.1.4.0, 14.1.1.0.0NVD
oracle communications_cloud_native_core_binding_support_function1.11.0NVD

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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 no, technical impact partial.

What each source says

CVE List

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. Netty prior to version 4.1.71.Final skips control chars when they are present at the beginning / end of the header name. It should instead fail fast as these are not allowed by the spec and could lead to HTTP request smuggling. Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore, and therefore does not do the validation itself. Users should upgrade to version 4.1.71.Final.

GitHub Advisory Database
Impact

Netty currently just skips control chars when these are present at the beginning / end of the header name. We should better fail fast as these are not allowed by the spec and could lead to HTTP request smuggling.

Failing to do the validation might cause netty to "sanitize" header names before it forward these to another remote system when used as proxy. This remote system can't see the invalid usage anymore and so not do the validation itself.

NVD (es)

Netty es un marco de trabajo de aplicaciones de red asíncronas impulsadas por eventos para el desarrollo rápido de servidores y clientes de protocolo de alto rendimiento mantenibles. Netty antes de la versión 4.1.71.Final omite los caracteres de control cuando están presentes al principio/fin del nombre de la cabecera. En su lugar, debería fallar rápidamente ya que estos no están permitidos por la especificación y podrían llevar a un contrabando de peticiones HTTP. No hacer la validación podría causar que netty "sanee" los nombres de las cabeceras antes de reenviarlas a otro sistema remoto cuando se usa como proxy. Este sistema remoto ya no puede ver el uso inválido, y por lo tanto no hace la validación por sí mismo. Los usuarios deben actualizar a la versión 4.1.71.Final

References

https://github.com/netty/netty/security/advisories/GHSA-wx5j-54mm-rqqqthird-party-advisory, web
https://github.com/netty/netty/commit/07aa6b5938a8b6ed7a6586e066400e2643897323patch, third-party-advisory, web
https://www.oracle.com/security-alerts/cpuapr2022.htmlpatch, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20220107-0003/third-party-advisory
https://www.oracle.com/security-alerts/cpujul2022.htmlpatch, third-party-advisory, web
https://lists.debian.org/debian-lts-announce/2023/01/msg00008.htmlmailing-list, third-party-advisory, web
https://www.debian.org/security/2023/dsa-5316third-party-advisory, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2021-43797advisory
https://github.com/netty/netty/pull/11891web
https://github.com/netty/nettyweb
https://security.netapp.com/advisory/ntap-20220107-0003web

Sources

SourceRecordLicence
CVE ListCVE-2021-43797 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-wx5j-54mm-rqqq changed 2026-09-10CC-BY-4.0
NVDCVE-2021-43797 changed 2026-10-08Public domain