Path Traversal in Http4s
CVE-2020-5280
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N.
EPSS exploit prediction
EPSS: 0.070 (93.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 93.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.070 · newest: 0.070 · change: 0.000
Affected products
- Http4s — versions < 0.18.26, >= 0.19.0, < 0.20.20, >= 0.21.0, < 0.21.2
- Typelevel Http4s
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6 (Third Party Advisory)
- github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec (Patch)
- github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efca (Patch)
- github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17b (Patch)
Frequently asked questions
- What is CVE-2020-5280?
- CVE-2020-5280 is a high-severity vulnerability in Http4s, classified under Relative Path Traversal. CVSS score: 7.6/10. Published 2020-03-25.
- How severe is CVE-2020-5280?
- High severity. CVSS v3 base score is 7.6 out of 10.
- Is CVE-2020-5280 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.