GitHub Advisoryadvisory · Maven
GHSA-wx5j-54mm-rqqq HTTP request smuggling in netty
MEDIUM
Official page ↗
- Aliases
- CVE-2021-43797
- Ecosystem
- Maven
- Packages
- io.netty:netty-codec-http, org.jboss.netty:netty, io.netty:netty
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-444
- Reviewed
- 2021-12-09
Affected packages
• Maven io.netty:netty-codec-http: >= 4.0.0, < 4.1.71.Final → fixed in 4.1.71.Final
• Maven org.jboss.netty:netty: < 4.0.0 (no fix yet)
• Maven io.netty:netty: < 4.0.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2021-43797 Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers… vulnerability
Weakness · CWE (1)
- CWE-444 Inconsistent Interpretation of HTTP Requests weakness
References
- https://github.com/netty/netty/security/advisories/GHSA-wx5j-54mm-rqqq web
- https://nvd.nist.gov/vuln/detail/CVE-2021-43797 advisory
- https://github.com/netty/netty/pull/11891 web
- https://github.com/netty/netty/commit/07aa6b5938a8b6ed7a6586e066400e2643897323 web
- https://github.com/netty/netty web
- https://lists.debian.org/debian-lts-announce/2023/01/msg00008.html web
- https://security.netapp.com/advisory/ntap-20220107-0003 web
- https://www.debian.org/security/2023/dsa-5316 web
- https://www.oracle.com/security-alerts/cpuapr2022.html web
- https://www.oracle.com/security-alerts/cpujul2022.html web