CVE-2020-5280
HIGH 7.5CVSS 3.1Local file inclusion vulnerability in http4s
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
- 25 Mar 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22CWE-23
- Also known as
- GHSA-66q9-f7ff-mmx6
- Sources
- NVDJSONOSV GHSA-66q9-f7ff-mmx6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | typelevel | http4scpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* |
< 0.18.26 | 0.18.26 |
| NVD | typelevel | http4scpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* |
>= 0.19.0, < 0.20.20 | 0.20.20 |
| NVD | typelevel | http4scpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* |
>= 0.21.0, < 0.21.2 | 0.21.2 |
| OSV | Maven | org.http4s:http4s-server_2.12 | < 0.18.26 | 0.18.26 |
| OSV | Maven | org.http4s:http4s-server_2.12 | >= 0.19.0, < 0.20.20 | 0.20.20 |
| OSV | Maven | org.http4s:http4s-server_2.12 | >= 0.21.0, < 0.21.2 | 0.21.2 |
References
- https://github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec · Patch, WEB
- https://github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efca · Patch, WEB
- https://github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17b · Patch, WEB
- https://github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5280 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 25 Mar 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Mar 2020)