CVE-2020-5280GHSA-66Q9-F7FF-MMX6
Local file inclusion vulnerability in http4s
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.18.26, 0.20.20, 0.21.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- http4s http4s
fixed in 0.18.26; From 0.19.0 · fixed in 0.20.20; From 0.21.0 · fixed in 0.21.2
- org.http4s:http4s-server_2.12Maven
fixed in 0.18.26
- org.http4s:http4s-server_2.12Maven
From 0.19.0 · fixed in 0.20.20
- org.http4s:http4s-server_2.12Maven
From 0.21.0 · fixed in 0.21.2