CVE-2020-5280Typelevel Http4s
High 7.5 No auth needed
Follow: this CVE · Typelevel · Typelevel Http4s We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.1
- 7.5
- EPSS
- 7.0% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Mar 25, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
http4s before versions 0.18.26, 0.20.20, and 0.21.2 has a local file inclusion vulnerability. This vulnerability applies to all users of org.http4s.server.staticcontent.FileService, org.http4s.server.staticcontent.ResourceService and org.http4s.server.staticcontent.WebjarService. URI normalization is applied incorrectly. Requests whose path info contain ../ or // can expose resources outside of the configured location. This issue is patched in versions 0.18.26, 0.20.20, and 0.21.2. Note that 0.19.0 is a deprecated release and has never been supported.
What to do
- Apply the vendor's security update for Http4s.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.http4s:http4s-server_2.12 |
< 0.18.26 |
0.18.26 |
— |
| Maven | org.http4s:http4s-server_2.12 |
≥ 0.19.0 < 0.20.20 |
0.20.20 |
— |
| Maven | org.http4s:http4s-server_2.12 |
≥ 0.21.0 < 0.21.2 |
0.21.2 |
— |
Per OSV / GitHub Advisories (GHSA-66q9-f7ff-mmx6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| typelevel | http4s | < 0.18.26 |
| typelevel | http4s | ≥ 0.19.0 < 0.20.20 |
| typelevel | http4s | ≥ 0.21.0 < 0.21.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Third Party Advisory