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 trend (30 days)EPSS over the last 30 days for CVE-2020-5280: held from 0.070 to 0.070.

EPSS over last 30 days · oldest: 0.070 · newest: 0.070 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.