Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Typelevel | Http4S | < 0.18.26 |
Related Weaknesses (CWE)
References
- https://github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ecPatch
- https://github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efcaPatch
- https://github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17bPatch
- https://github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6Third Party Advisory
- https://github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ecPatch
- https://github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efcaPatch
- https://github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17bPatch
- https://github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6Third Party Advisory
FAQ
What is CVE-2020-5280?
CVE-2020-5280 is a vulnerability with a CVSS score of 7.6 (HIGH). 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....
How severe is CVE-2020-5280?
CVE-2020-5280 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-5280?
Check the references section above for vendor advisories and patch information. Affected products include: Typelevel Http4S.