Local File Inclusion Affecting org.http4s:http4s-server package, versions [0.21.0,0.21.2)[0.19.0,0.20.20)[,0.18.26)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.55% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Local File Inclusion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGHTTP4S-561337
  • published26 Mar 2020
  • disclosed25 Mar 2020
  • creditThomas Gøytil

Introduced: 25 Mar 2020

CVE-2020-5280  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade org.http4s:http4s-server to version 0.21.2, 0.20.20, 0.18.26 or higher.

Overview

org.http4s:http4s-server is a base library for building http4s servers.

Affected versions of this package are vulnerable to Local File Inclusion. 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.

CVSS Scores

version 3.1