Skip to main content
← All vulnerabilities
CVE-2023-22465GHSA-54W6-VXFH-FW7F

Http4s has fatal error parsing User-Agent and Server headers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.21.34, 0.22.15, 0.23.17, 1.0.0-M38
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

  1. CVE published796 days (about 2 years)
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. 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

References 1

GitHub · http4s/http4s