Http4s has fatal error parsing User-Agent and Server headers
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.21.34, 0.22.15, 0.23.17, 1.0.0-M38
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: yes
- Technical impact: partial
Summary
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.
Timeline
- CVE published796 days (about 2 years)
- CISA SSVC assessment
Exploitation: poc · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- http4s http4s
From 0.1.0 · fixed in 0.21.34; From 0.22.0 · fixed in 0.22.15; From 0.23.0 · fixed in 0.23.17; From 1.0.0-M1 · fixed in 1.0.0-M38
- org.http4s:http4s-core_2.13Maven
From 0.1.0 · fixed in 0.21.34
- org.http4s:http4s-core_2.13Maven
From 0.22.0 · fixed in 0.22.15
- org.http4s:http4s-core_2.13Maven
From 0.23.0 · fixed in 0.23.17
- org.http4s:http4s-core_2.13Maven
From 1.0.0-M1 · fixed in 1.0.0-M38
- org.http4s:http4s-core_2.10Maven
From 0.1.0 · through 0.9.3
- org.http4s:http4s-core_2.11Maven
From 0.1.0 · through 0.21.0-M1
- org.http4s:http4s-core_2.12Maven
From 0.1.0 · fixed in 0.21.34
- org.http4s:http4s-core_2.12Maven
From 0.22.0 · fixed in 0.22.15
- org.http4s:http4s-core_2.12Maven
From 0.23.0 · fixed in 0.23.17
- org.http4s:http4s-coreMaven
From 1.0.0-M1 · through 1.0.0-M30