CVE-2020-5280

Local file inclusion vulnerability in http4s

HIGH
7.5
CVSS Score
Published: March 25, 2020 at 05:45 PM UTC
Updated: June 17, 2026 at 03:21 AM UTC
2 products affected across 2 vendorsHTTP4SHTTP4S

Using http4s by http4s?

Get instant alerts when new vulnerabilities affect http4s - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 7%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.18.260.19.0 ≤ v < 0.20.200.21.0 ≤ v < 0.21.2
Affected range stops below 0.18.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.20.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.21.2, so it looks safe — our inference, not a vendor statement
v < 0.18.26v < 0.20.20v < 0.21.2
Affected range stops below 0.18.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.20.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 0.21.2, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-23CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card