CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2021-32643

Http4s is a Scala interface for HTTP services. `StaticFile.fromUrl` can leak the presence of a directory on a server when the `URL` scheme is not `file://`, and the URL points to a fetchable resource under its scheme and authority. The function returns `F[None]`, indicating no resource, if `url.getFile` is a directory, without first checking the scheme or authority of the URL. If a URL connection to the scheme and URL would return a stream, and the path in the URL exists as a directory on the server, the presence of the directory on the server could be inferred from the 404 response. The contents and other metadata about the directory are not exposed. This affects http4s versions: 0.21.7 through 0.21.23, 0.22.0-M1 through 0.22.0-M8, 0.23.0-M1, and 1.0.0-M1 through 1.0.0-M22. The [patch](https://github.com/http4s/http4s/commit/52e1890665410b4385e37b96bc49c5e3c708e4e9) is available in the following versions: v0.21.24, v0.22.0-M9, v0.23.0-M2, v1.0.0-M23. As a workaround users can avoid calling `StaticFile.fromUrl` with non-file URLs.
Publish Date : 2021-05-27 Last Update Date : 2021-06-10
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
5.0
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact None (There is no impact to the integrity of the system)
Availability Impact None (There is no impact to the availability of the system.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Directory traversal
CWE ID 22

- Products Affected By CVE-2021-32643

# Product Type Vendor Product Version Update Edition Language
1 Application Typelevel Http4s * * * * Version Details Vulnerabilities
2 Application Typelevel Http4s 0.22.0 Milestone5 * * Version Details Vulnerabilities
3 Application Typelevel Http4s 0.22.0 Milestone6 * * Version Details Vulnerabilities
4 Application Typelevel Http4s 0.22.0 Milestone1 * * Version Details Vulnerabilities
5 Application Typelevel Http4s 0.22.0 Milestone7 * * Version Details Vulnerabilities
6 Application Typelevel Http4s 0.22.0 Milestone2 * * Version Details Vulnerabilities
7 Application Typelevel Http4s 0.22.0 Milestone8 * * Version Details Vulnerabilities
8 Application Typelevel Http4s 0.22.0 Milestone3 * * Version Details Vulnerabilities
9 Application Typelevel Http4s 0.22.0 Milestone4 * * Version Details Vulnerabilities
10 Application Typelevel Http4s 0.23.0 Milestone1 * * Version Details Vulnerabilities
11 Application Typelevel Http4s 1.0.0 Milestone9 * * Version Details Vulnerabilities
12 Application Typelevel Http4s 1.0.0 Milestone14 * * Version Details Vulnerabilities
13 Application Typelevel Http4s 1.0.0 Milestone4 * * Version Details Vulnerabilities
14 Application Typelevel Http4s 1.0.0 Milestone1 * * Version Details Vulnerabilities
15 Application Typelevel Http4s 1.0.0 Milestone2 * * Version Details Vulnerabilities
16 Application Typelevel Http4s 1.0.0 Milestone15 * * Version Details Vulnerabilities
17 Application Typelevel Http4s 1.0.0 Milestone5 * * Version Details Vulnerabilities
18 Application Typelevel Http4s 1.0.0 Milestone10 * * Version Details Vulnerabilities
19 Application Typelevel Http4s 1.0.0 Milestone20 * * Version Details Vulnerabilities
20 Application Typelevel Http4s 1.0.0 Milestone16 * * Version Details Vulnerabilities
21 Application Typelevel Http4s 1.0.0 Milestone6 * * Version Details Vulnerabilities
22 Application Typelevel Http4s 1.0.0 Milestone11 * * Version Details Vulnerabilities
23 Application Typelevel Http4s 1.0.0 Milestone21 * * Version Details Vulnerabilities
24 Application Typelevel Http4s 1.0.0 Milestone17 * * Version Details Vulnerabilities
25 Application Typelevel Http4s 1.0.0 Milestone7 * * Version Details Vulnerabilities
26 Application Typelevel Http4s 1.0.0 Milestone12 * * Version Details Vulnerabilities
27 Application Typelevel Http4s 1.0.0 Milestone22 * * Version Details Vulnerabilities
28 Application Typelevel Http4s 1.0.0 Milestone18 * * Version Details Vulnerabilities
29 Application Typelevel Http4s 1.0.0 Milestone8 * * Version Details Vulnerabilities
30 Application Typelevel Http4s 1.0.0 Milestone13 * * Version Details Vulnerabilities
31 Application Typelevel Http4s 1.0.0 Milestone3 * * Version Details Vulnerabilities
32 Application Typelevel Http4s 1.0.0 Milestone19 * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Typelevel Http4s 32

- References For CVE-2021-32643

https://mvnrepository.com/artifact/org.http4s/http4s-core
https://github.com/http4s/http4s/commit/52e1890665410b4385e37b96bc49c5e3c708e4e9
https://github.com/http4s/http4s/security/advisories/GHSA-6h7w-fc84-x7p6 CONFIRM

- Metasploit Modules Related To CVE-2021-32643

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.