CVE-2020-5280

Severity CVSS v4.0:
Pending analysis
Type:
CWE-22 Path Traversal
Publication date:
25/03/2020
Last modified:
30/03/2020

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* 0.18.26 (excluding)
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* 0.19.0 (including) 0.20.20 (excluding)
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* 0.21.0 (including) 0.21.2 (excluding)