Skip to content

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

Moderate
normanmaurer published GHSA-wx5j-54mm-rqqq Dec 9, 2021

Package

maven netty-codec-http (Maven)

Affected versions

< 4.1.71..Final

Patched versions

None

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.

Severity

Moderate

CVE ID

CVE-2021-43797

Weaknesses

No CWEs

Credits