CVE-2023-22465

Http4s has fatal error parsing User-Agent and Server headers

MEDIUM
5.3
CVSS Score
Published: January 4, 2023 at 03:30 PM UTC
Updated: June 17, 2026 at 05:35 AM UTC
2 products affected across 2 vendorsHTTP4SHTTP4S

Using http4s by http4s?

Get instant alerts when new vulnerabilities affect http4s - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.9%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.21.34v < 0.22.15v < 0.23.17v < 1.0.0-M38
Affected range stops below 0.21.34, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.22.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.23.17, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.0.0-M38, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMExploitMitigationThird Party Advisory
https://github.com/http4s/http4s/security/advisories/GHSA-54w6-vxfh-fw7f

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-20

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card