Skip to content
OpenAdvisories
High · 7.6 CVE-2020-5280 EUVD-2020-0333GHSA-66q9-f7ff-mmx6

Local file inclusion vulnerability in http4s

Published Mar 25, 2020 · Updated Aug 4, 2024 · Assigned by 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.

Affected products

VendorProductAffectedFixed
http4s http4s < 0.18.26, >= 0.19.0, < 0.20.20, >= 0.21.0, < 0.21.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.http4s:http4s-server_2.12 < 0.18.26 0.18.26 GHSA-66q9-f7ff-mmx6
Maven org.http4s:http4s-server_2.12 >= 0.19.0, < 0.20.20 0.20.20 GHSA-66q9-f7ff-mmx6
Maven org.http4s:http4s-server_2.12 >= 0.21.0, < 0.21.2 0.21.2 GHSA-66q9-f7ff-mmx6

References