CVEfocus › CVE database › CVE-2023-22465

CVE-2023-22465Http4s has fatal error parsing User-Agent and Server headers

CVSS 7.5 HighEPSS 0.9% (higher than 60% of CVEs)Published 2023-01-04Updated 2025-03-10Assigner: GitHub_M

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.

CWE-20

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Maven has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Maven libraryorg.http4s:http4s-coreFix pendingGHSA-54w6-vxfh-fw7f
Maven libraryorg.http4s:http4s-core_2.10Fix pendingGHSA-54w6-vxfh-fw7f
Maven libraryorg.http4s:http4s-core_2.11Fix pendingGHSA-54w6-vxfh-fw7f
Maven libraryorg.http4s:http4s-core_2.12Fixed0.23.17GHSA-54w6-vxfh-fw7f
Maven libraryorg.http4s:http4s-core_2.13Fixed0.21.34GHSA-54w6-vxfh-fw7f

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.