HTTP Response Splitting Affecting io.netty:netty-codec package, versions [4.1.83.Final,4.1.86.Final)
Threat Intelligence
EPSS
0.2% (58th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-IONETTY-3167773
- published 13 Dec 2022
- disclosed 12 Dec 2022
- credit Rafal Ambrozewicz
Introduced: 12 Dec 2022
CVE-2022-41915 Open this link in a new tabHow to fix?
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 a remove()
call, and calling add()
in a loop over the iterator.
References
CVSS Scores
version 3.1