Live threats

All CVEs / Typelevel

CVE-2020-5280Typelevel Http4s

High 7.5 No auth needed

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
Weakness (CWE)
CWE-23, CWE-22
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Http4s.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
typelevelhttp4s< 0.18.26
typelevelhttp4s≥ 0.19.0 < 0.20.20
typelevelhttp4s≥ 0.21.0 < 0.21.2

Official sources

References

Links published by the sources. Open them with care.