CVE-2022-41915 Netty vulnerable to HTTP Response splitting from assigning header value iterator

Medium 6.5 Published Updated

Attackers can perform HTTP Response Splitting by injecting malicious header values via the DefaultHttpHeaders.set iterator method in Netty.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-41915?

CVE-2022-41915 is a medium-severity vulnerability in Debian Debian Linux, published on 13 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Netty project is an event-driven asynchronous network application framework. Starting in version 4.1.83.Final and prior to 4.1.86.Final, when calling `DefaultHttpHeadesr.set` with an _iterator_ of values, header value validation was not performed, allowing malicious header values in the iterator to perform HTTP Response Splitting. This issue has been patched in version 4.1.86.Final. Integrators can work around the issue by changing the `DefaultHttpHeaders.set(CharSequence, Iterator<?>)` call, into a `remove()` call, and call `add()` in a loop over the iterator of values.

Weakness: CWE-436, CWE-113

Which versions are affected by CVE-2022-41915?

2 open source packages ship an affected version, including io.netty:netty-codec-http. It affects 2 products.

PackageAffectedFixed in
io.netty:netty-codec-http MavenFrom 4.1.83.Final4.1.86.Final
io.netty:netty-codec-http MavenFrom 4.1.83.Final4.1.86.Final

Products include Debian Debian Linux, Netty Netty.

How do I fix CVE-2022-41915?

Upgrade io.netty:netty-codec-http to 4.1.86.Final or later.

Is CVE-2022-41915 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-41915 exists.

All Debian Debian Linux vulnerabilities

Sources

Also known as CLSA-2026-1792580190, DEBIAN-CVE-2022-41915, GHSA-hh82-3pmq-7frp, UBUNTU-CVE-2022-41915.

Is CVE-2022-41915 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free