CVE-2020-5280

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:33

Type Values Removed Values Added
References () https://github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec - Patch () https://github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec - Patch
References () https://github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efca - Patch () https://github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efca - Patch
References () https://github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17b - Patch () https://github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17b - Patch
References () https://github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6 - Third Party Advisory () https://github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6 - Third Party Advisory
CVSS v2 : 5.0
v3 : 7.5
v2 : 5.0
v3 : 7.6

Information

Published : 2020-03-25 18:15

Updated : 2024-11-21 05:33


NVD link : CVE-2020-5280

Mitre link : CVE-2020-5280

CVE.ORG link : CVE-2020-5280


JSON object : View

Products Affected

typelevel

  • http4s
CWE
CWE-23

Relative Path Traversal

CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')