Lucene search

K
osvGoogleOSV:GHSA-WX5J-54MM-RQQQ
HistoryDec 09, 2021 - 7:09 p.m.

HTTP request smuggling in netty

2021-12-0919:09:17
Google
osv.dev
159
netty
http request smuggling
header name
validation
proxy

EPSS

0.003

Percentile

69.2%

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.