GitHub Advisoryadvisory · Maven

GHSA-wx5j-54mm-rqqq HTTP request smuggling in netty

MEDIUM Published 2021-12-09 Modified 2023-08-04 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