ADVISORIES

GitHub Advisory Database

GHSA-wx5j-54mm-rqqq

HTTP request smuggling in netty

Moderate CVE-2021-43797

Details

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 packages

EcosystemPackageAffected versions
Mavenio.netty:netty-codec-http
From 4.0.0 before 4.1.71.Final (fixed in 4.1.71.Final)
Mavenorg.jboss.netty:netty
All versions, no fix listed
Mavenio.netty:netty
All versions, no fix listed

References