{"id":"CVE-2023-22465","published":"2023-01-04T15:30:04Z","modified":"2025-03-10T21:32:44Z","title":"Http4s has fatal error parsing User-Agent and Server headers","vendor":"http4s","product":"http4s","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00886,"percentile":0.60126,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/http4s/http4s/security/advisories/GHSA-54w6-vxfh-fw7f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":12.03},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"http4s","affectedVersions":[{"vendor":"http4s","product":"http4s","versions":[">= 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"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-10T21:02:19.525721Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.http4s:http4s-core_2.13","vulnerableRanges":[">=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"],"patched":["0.21.34","0.22.15","0.23.17","1.0.0-M38"],"from":["GHSA-54w6-vxfh-fw7f"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-core_2.10","vulnerableRanges":[">=0.1.0, <=0.9.3"],"patched":[],"from":["GHSA-54w6-vxfh-fw7f"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-core_2.11","vulnerableRanges":[">=0.1.0, <=0.21.0-M1"],"patched":[],"from":["GHSA-54w6-vxfh-fw7f"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-core_2.12","vulnerableRanges":[">=0.1.0, <0.21.34",">=0.22.0, <0.22.15",">=0.23.0, <0.23.17"],"patched":["0.21.34","0.22.15","0.23.17"],"from":["GHSA-54w6-vxfh-fw7f"],"provenance":"source"},{"ecosystem":"Maven","package":"org.http4s:http4s-core","vulnerableRanges":[">=1.0.0-M1, <=1.0.0-M30"],"patched":[],"from":["GHSA-54w6-vxfh-fw7f"],"provenance":"source"}],"summary":{"text":"Http4s, a Scala library for building HTTP services, contains an improper input validation flaw in its parsers for the User-Agent and Server headers. An attacker who can send crafted requests over the network can trigger a fatal error, and this only affects services that explicitly request these typed headers, since http4s parses modeled headers lazily.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:52:29Z"},"euvd":{"id":"EUVD-2023-0335","exploited":false,"provenance":"source"}}