CVE-2020-5280 json
Local file inclusion vulnerability in http4s
published 2020-03-25 6 y ago modified 2026-07-08 4 mo ago also GHSA-66q9-f7ff-mmx6 , EUVD-2020-0333
- cvss
- 7.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.0%
- EPSS 7.0% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.http4s:http4s-server_2.12 0.18.26, 0.20.20, 0.21.2
- typelevel http4s 0.18.26, 0.20.20, 0.21.2
Exploit prediction
6.98% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.http4s:http4s-server_2.12 | <0.18.26 >=0.19.0, <0.20.20 >=0.21.0, <0.21.2 |
0.18.26 0.20.20 0.21.2 |
Affected products
- http4s http4s
Classification
References
-
github.com
/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec
web, patch
-
github.com
/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efca
web, patch
-
github.com
/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17b
web, patch
-
github.com
/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-5280
advisory
Sources
- CVE List CVE-2020-5280
- GitHub Advisory GHSA-66q9-f7ff-mmx6
- NVD CVE-2020-5280
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.