CVE-2023-22465
Description
Http4s is a Scala interface for HTTP services. Starting with version 0.1.0 and prior to versions 0.21.34, 0.22.15, 0.23.17, and 1.0.0-M38, the `User-Agent` and `Server` header parsers are susceptible to a fatal error on certain inputs. In http4s, modeled headers are lazily parsed, so this only applies to services that explicitly request these typed headers. Fixes are released in 0.21.34, 0.22.15, 0.23.17, and 1.0.0-M38. As a workaround, use the weakly typed header interface.
How to fix
- typelevel http4s0.21.34, 0.22.15, 0.23.17 or later
- org.http4s:http4s-core_2.130.21.34, 0.22.15, 0.23.17, 1.0.0-M38 or later
- org.http4s:http4s-core_2.120.21.34, 0.22.15, 0.23.17 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| typelevel http4s | 0.1.0 ≤ v < 0.21.34, 0.22.0 ≤ v < 0.22.15, 0.23.0 ≤ v < 0.23.17, 1.0.0 | 0.21.34, 0.22.15, 0.23.17 |
| org.http4s:http4s-core_2.13Maven | 0.1.0 ≤ v < 0.21.34, 0.22.0 ≤ v < 0.22.15, 0.23.0 ≤ v < 0.23.17, 1.0.0-M1 ≤ v < 1.0.0-M38 | 0.21.34, 0.22.15, 0.23.17, 1.0.0-M38 |
| org.http4s:http4s-core_2.10Maven | 0.1.0 ≤ v ≤ 0.9.3 | — |
| org.http4s:http4s-core_2.11Maven | 0.1.0 ≤ v ≤ 0.21.0-M1 | — |
| org.http4s:http4s-core_2.12Maven | 0.1.0 ≤ v < 0.21.34, 0.22.0 ≤ v < 0.22.15, 0.23.0 ≤ v < 0.23.17 | 0.21.34, 0.22.15, 0.23.17 |
| org.http4s:http4s-coreMaven | 1.0.0-M1 ≤ v ≤ 1.0.0-M30 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.