MODERATE 6.5

CVE-2021-43797

HTTP request smuggling in netty

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.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
io.netty » netty
*
-
io.netty » netty-codec-http
>= 4.0.0, < 4.1.71.Final
4.1.71.Final
org.jboss.netty » netty
*
-

Blast radius

3affected artifacts
337affected versions
45,284dependent artifacts (est.)
3,126,965dependent versions

76% of the dependent artifacts (34,537) still pull an affected version in their latest release.

DepthDependent versions
Direct
93,754
2 hops
533,736
3 hops
1,036,849
4 hops
735,381
5 hops
468,814
6 hops
258,431

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.