Lookup for vulnerable packages by Package URL.
| Purl | pkg:maven/org.http4s/http4s-core_2.13@0.22.0 |
| Type | maven |
| Namespace | org.http4s |
| Name | http4s-core_2.13 |
| Version | 0.22.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 0.22.15 |
| Latest_non_vulnerable_version | 1.0.0-M38 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-ecme-hxe7-q7d8 |
| vulnerability_id |
VCID-ecme-hxe7-q7d8 |
| summary |
Http4s improperly parses User-Agent and Server headers
### Impact
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.
#### v0.21.x
```scala
val unsafe: Option[`User-Agent`] = req.headers.get(`User-Agent`)
```
#### v0.22.x, v0.23.x, v1.x
```scala
val unsafe: Option[`User-Agent`] = req.headers.get[`User-Agent`]
val alsoUnsafe: Option[`Server`] = req.headers.get[Server]
```
### Patches
Fixes are released in 0.21.34, 0.22.15, 0.23.17, and 1.0.0-M38.
### Workarounds
#### Use the weakly typed header interface
##### v0.21.x
```scala
val safe: Option[Header] = req.headers.get("User-Agent".ci)
// but don't do this
val unsafe = header.map(_.parsed)
```
##### v0.22.x, v0.23.x, v1.x
```scala
val safe: Option[Header] = req.headers.get(ci"User-Agent")
``` |
| references |
| 0 |
| reference_url |
https://api.first.org/data/v1/epss?cve=CVE-2023-22465 |
| reference_id |
|
| reference_type |
|
| scores |
| 0 |
| value |
0.00335 |
| scoring_system |
epss |
| scoring_elements |
0.56629 |
| published_at |
2026-06-06T12:55:00Z |
|
| 1 |
| value |
0.00335 |
| scoring_system |
epss |
| scoring_elements |
0.56621 |
| published_at |
2026-06-09T12:55:00Z |
|
| 2 |
| value |
0.00335 |
| scoring_system |
epss |
| scoring_elements |
0.56602 |
| published_at |
2026-06-08T12:55:00Z |
|
| 3 |
| value |
0.00335 |
| scoring_system |
epss |
| scoring_elements |
0.56617 |
| published_at |
2026-06-07T12:55:00Z |
|
| 4 |
| value |
0.00335 |
| scoring_system |
epss |
| scoring_elements |
0.5657 |
| published_at |
2026-06-04T12:55:00Z |
|
| 5 |
| value |
0.00335 |
| scoring_system |
epss |
| scoring_elements |
0.56623 |
| published_at |
2026-06-05T12:55:00Z |
|
|
| url |
https://api.first.org/data/v1/epss?cve=CVE-2023-22465 |
|
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
|
| fixed_packages |
|
| aliases |
CVE-2023-22465, GHSA-54w6-vxfh-fw7f
|
| risk_score |
4.0 |
| exploitability |
0.5 |
| weighted_severity |
8.0 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-ecme-hxe7-q7d8 |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 4.0 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:maven/org.http4s/http4s-core_2.13@0.22.0 |