io.netty:netty-codec is an event-driven asynchronous network application framework.
Affected versions of this package are vulnerable to HTTP Response Splitting when calling DefaultHttpHeaders.set on an iterator of values, because header value validation is not performed.
Workaround
This vulnerability can be worked around by changing the DefaultHttpHeaders.set(CharSequence, Iterator<?>) call into a remove() call, and calling add() in a loop over the iterator.
Remediation
Upgrade io.netty:netty-codec to version 4.1.86.Final or higher.
Overview
io.netty:netty-codec is an event-driven asynchronous network application framework.
Affected versions of this package are vulnerable to HTTP Response Splitting when calling
DefaultHttpHeaders.set
on an iterator of values, because header value validation is not performed.Workaround
This vulnerability can be worked around by changing the
DefaultHttpHeaders.set(CharSequence, Iterator<?>)
call into aremove()
call, and callingadd()
in a loop over the iterator.Remediation
Upgrade
io.netty:netty-codec
to version 4.1.86.Final or higher.References