Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.http4s/http4s-server_2.12
  4. ›
  5. CVE-2020-5280

CVE-2020-5280: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

March 25, 2020 (updated January 14, 2021)

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.

References

  • github.com/advisories/GHSA-66q9-f7ff-mmx6
  • github.com/http4s/http4s/commit/250afddbb2e65b70ca9ddaec9d1eb3aaa56de7ec
  • github.com/http4s/http4s/commit/752b3f63a05a31d2de4f8706877aa08d6b89efca
  • github.com/http4s/http4s/commit/b87f31b2292dabe667bec3b04ce66176c8a3e17b
  • github.com/http4s/http4s/security/advisories/GHSA-66q9-f7ff-mmx6
  • nvd.nist.gov/vuln/detail/CVE-2020-5280

Code Behaviors & Features

Detect and mitigate CVE-2020-5280 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.18.26, all versions starting from 0.19.0 before 0.20.20, all versions starting from 0.21.0 before 0.21.2

Fixed versions

  • 0.18.26
  • 0.20.20
  • 0.21.2

Solution

Upgrade to versions 0.18.26, 0.20.20, 0.21.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.http4s/http4s-server_2.12/CVE-2020-5280.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:01 +0000.