Lookup for vulnerable packages by Package URL.

Purlpkg:maven/org.http4s/http4s-core@1.0.0-M1
Typemaven
Namespaceorg.http4s
Namehttp4s-core
Version1.0.0-M1
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.0.0-M23
Latest_non_vulnerable_version1.0.0-M23
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.56617
published_at 2026-06-07T12:55:00Z
1
value 0.00335
scoring_system epss
scoring_elements 0.5657
published_at 2026-06-04T12:55:00Z
2
value 0.00335
scoring_system epss
scoring_elements 0.56623
published_at 2026-06-05T12:55:00Z
3
value 0.00335
scoring_system epss
scoring_elements 0.56629
published_at 2026-06-06T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2023-22465
1
reference_url https://github.com/http4s/http4s
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/http4s/http4s
2
reference_url https://github.com/http4s/http4s/security/advisories/GHSA-54w6-vxfh-fw7f
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2025-03-10T21:02:19Z/
url https://github.com/http4s/http4s/security/advisories/GHSA-54w6-vxfh-fw7f
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-22465
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2023-22465
4
reference_url https://github.com/advisories/GHSA-54w6-vxfh-fw7f
reference_id GHSA-54w6-vxfh-fw7f
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-54w6-vxfh-fw7f
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
1
url VCID-zpsp-jh45-7ygv
vulnerability_id VCID-zpsp-jh45-7ygv
summary
Path Traversal
Http4s is a Scala interface for HTTP services. `StaticFile.fromUrl` can leak the presence of a directory on a server when the `URL` scheme is not `file://`, and the URL points to a fetchable resource under its scheme and authority. The function returns `F[None]`, indicating no resource, if `url.getFile` is a directory, without first checking the scheme or authority of the URL. If a URL connection to the scheme and URL would return a stream, and the path in the URL exists as a directory on the server, the presence of the directory on the server could be inferred from the response. The contents and other metadata about the directory are not exposed.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-32643
reference_id
reference_type
scores
0
value 0.00316
scoring_system epss
scoring_elements 0.5509
published_at 2026-06-06T12:55:00Z
1
value 0.00316
scoring_system epss
scoring_elements 0.5508
published_at 2026-06-07T12:55:00Z
2
value 0.00316
scoring_system epss
scoring_elements 0.55023
published_at 2026-06-04T12:55:00Z
3
value 0.00316
scoring_system epss
scoring_elements 0.55081
published_at 2026-06-05T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-32643
1
reference_url https://github.com/http4s/http4s/commit/52e1890665410b4385e37b96bc49c5e3c708e4e9
reference_id
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/http4s/http4s/commit/52e1890665410b4385e37b96bc49c5e3c708e4e9
2
reference_url https://mvnrepository.com/artifact/org.http4s/http4s-core
reference_id
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://mvnrepository.com/artifact/org.http4s/http4s-core
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-32643
reference_id CVE-2021-32643
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-32643
4
reference_url https://github.com/advisories/GHSA-6h7w-fc84-x7p6
reference_id GHSA-6h7w-fc84-x7p6
reference_type
scores
0
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-6h7w-fc84-x7p6
5
reference_url https://github.com/http4s/http4s/security/advisories/GHSA-6h7w-fc84-x7p6
reference_id GHSA-6h7w-fc84-x7p6
reference_type
scores
0
value 5.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
1
value MODERATE
scoring_system cvssv3.1_qr
scoring_elements
2
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/http4s/http4s/security/advisories/GHSA-6h7w-fc84-x7p6
fixed_packages
0
url pkg:maven/org.http4s/http4s-core@1.0.0-M23
purl pkg:maven/org.http4s/http4s-core@1.0.0-M23
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/org.http4s/http4s-core@1.0.0-M23
aliases CVE-2021-32643, GHSA-6h7w-fc84-x7p6
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-zpsp-jh45-7ygv
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:maven/org.http4s/http4s-core@1.0.0-M1