Http4s vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section
http4s
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.http4s:http4s-ember-core_2.12 Maven |
|
|
| org.http4s:http4s-ember-core_2.13 Maven |
|
|
http4s
| Product | Affected | Fixed in |
|---|---|---|
| org.http4s:http4s-ember-core_2.12 Maven |
|
|
| org.http4s:http4s-ember-core_2.13 Maven |
|
|
1.0.0-M45| org.http4s:http4s-ember-core_3 Maven |
|
|
Http4s is a Scala interface for HTTP services. In versions from 1.0.0-M1 to before 1.0.0-M45 and before 0.23.31, http4s is vulnerable to HTTP Request Smuggling due to improper handling of HTTP trailer section. This vulnerability could enable attackers to bypass front-end servers security controls, launch targeted attacks against active users, and poison web caches. A pre-requisite for exploitation involves the web application being deployed behind a reverse-proxy that forwards trailer headers. This issue has been patched in versions 1.0.0-M45 and 0.23.31.
From the CVE record · GitHub_M
http4s mishandles HTTP trailer sections, allowing HTTP request smuggling. When an application is behind a reverse proxy that forwards trailer headers, an attacker could bypass front-end security controls, target active users, or poison web caches. The input does not specify authentication or user-interaction requirements.
Check applications using Maven org.http4s:http4s-ember-core_2.12, _2.13, or _3 below 0.23.31, or _2.13 or _3 from 1.0.0-M1 through versions before 1.0.0-M45.