CVE-2020-5280
published high CVSS 3.1 · 7.6Local file inclusion vulnerability in http4s
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| http4s | — | http4s< 0.18.26 · >= 0.19.0, < 0.20.20 · >= 0.21.0, < 0.21.2 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| http4s | http4s | < 0.18.26 (affected)>= 0.19.0, < 0.20.20 (affected)>= 0.21.0, < 0.21.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-23 CWE-23: Relative Path Traversal
References
4- https://github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec
- https://github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efca
- https://github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17b
- https://github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6
Provider assertions
2GitHub_M · cna
Local file inclusion vulnerability in http4s
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5627d4fe3170919a40ebc913b32a147143e24c680013f3d1a4f6a43c467f42d1
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record