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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 60% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-04T15:30:04.129Z
- Modified: 2026-06-17T05:35:30.800Z
- Also known as: GHSA-54w6-vxfh-fw7f
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- http4s http4s: >= 0.1.0, < 0.21.34; >= 0.22.0, < 0.22.15; >= 0.23.0, < 0.23.17; >= 1.0.0-M1, < 1.0.0-M38
- org.http4s:http4s-core_2.13 (Maven): from 0.1.0 before 0.21.34; from 0.22.0 before 0.22.15; from 0.23.0 before 0.23.17; from 1.0.0-M1 before 1.0.0-M38
- org.http4s:http4s-core_2.10 (Maven): from 0.1.0 up to 0.9.3
- org.http4s:http4s-core_2.11 (Maven): from 0.1.0 up to 0.21.0-M1
- org.http4s:http4s-core_2.12 (Maven): from 0.1.0 before 0.21.34; from 0.22.0 before 0.22.15; from 0.23.0 before 0.23.17
- org.http4s:http4s-core (Maven): from 1.0.0-M1 up to 1.0.0-M30
- typelevel http4s: from 0.1.0 before 0.21.34; from 0.22.0 before 0.22.15; from 0.23.0 before 0.23.17; 1.0.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/http4s/http4s/security/advisories/GHSA-54w6-vxfh-fw7f> (exploit, mitigation, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22465> (advisory)
- <https://github.com/http4s/http4s> (package)

## Sources

- CVE List: [CVE-2023-22465](https://www.cve.org/CVERecord?id=CVE-2023-22465), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-54w6-vxfh-fw7f](https://github.com/advisories/GHSA-54w6-vxfh-fw7f), CC-BY-4.0, modified 2025-12-11
- NVD: [CVE-2023-22465](https://nvd.nist.gov/vuln/detail/CVE-2023-22465), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-22465 · Whole record: https://cve.day/CVE-2023-22465.json · Rebuilt by cve.day 2026-11-25T22:58:21.482Z
