CVE-2023-22465 json
Http4s has fatal error parsing User-Agent and Server headers
published 3y ago modified 4mo ago also GHSA-54w6-vxfh-fw7f , EUVD-2023-0335
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.http4s:http4s-core_2.13 0.21.34, 0.22.15, 0.23.17, 1.0.0-M38
- maven org.http4s:http4s-core_2.12 0.21.34, 0.22.15, 0.23.17
- typelevel http4s 0.21.34, 0.22.15, 0.23.17
Is CVE-2023-22465 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-15).
Exploits and checks
- github.com https://github.com/http4s/http4s/security/advisories/GHSA-54w6-vxfh-fw7f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.http4s:http4s-core_2.13 | >=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 |
0.21.34 0.22.15 0.23.17 1.0.0-M38 |
| maven | org.http4s:http4s-core_2.10 | >=0.1.0, <=0.9.3 |
no fix listed |
| maven | org.http4s:http4s-core_2.11 | >=0.1.0, <=0.21.0-M1 |
no fix listed |
| maven | org.http4s:http4s-core_2.12 | >=0.1.0, <0.21.34 >=0.22.0, <0.22.15 >=0.23.0, <0.23.17 |
0.21.34 0.22.15 0.23.17 |
| maven | org.http4s:http4s-core | >=1.0.0-M1, <=1.0.0-M30 |
no fix listed |
Affected products
- http4s http4s
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/http4s/http4s/security/advisories/GHSA-54w6-vxfh-fw7f
web, exploit, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-22465
advisory
-
github.com
/http4s/http4s
package
Sources
- CVE List CVE-2023-22465
- GitHub Advisory GHSA-54w6-vxfh-fw7f
- NVD CVE-2023-22465
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.