4.7

CVE-2021-41084

Exploit

Response Splitting from unsanitized headers in http4s

http4s is an open source scala interface for HTTP. In affected versions http4s is vulnerable to response-splitting or request-splitting attacks when untrusted user input is used to create any of the following fields: Header names (`Header.name`å), Header values (`Header.value`), Status reason phrases (`Status.reason`), URI paths (`Uri.Path`), URI authority registered names (`URI.RegName`) (through 0.21). This issue has been resolved in versions 0.21.30, 0.22.5, 0.23.4, and 1.0.0-M27 perform the following. As a matter of practice http4s services and client applications should sanitize any user input in the aforementioned fields before returning a request or response to the backend. The carriage return, newline, and null characters are the most threatening.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Typelevel ≫ Http4s Version < 0.21.29
Typelevel ≫ Http4s Version >= 0.22.0 < 0.22.5
Typelevel ≫ Http4s Version >= 0.23.0 < 0.23.4
Typelevel ≫ Http4s Version 1.0.0 Update milestone1
Typelevel ≫ Http4s Version 1.0.0 Update milestone10
Typelevel ≫ Http4s Version 1.0.0 Update milestone11
Typelevel ≫ Http4s Version 1.0.0 Update milestone12
Typelevel ≫ Http4s Version 1.0.0 Update milestone13
Typelevel ≫ Http4s Version 1.0.0 Update milestone14
Typelevel ≫ Http4s Version 1.0.0 Update milestone15
Typelevel ≫ Http4s Version 1.0.0 Update milestone16
Typelevel ≫ Http4s Version 1.0.0 Update milestone17
Typelevel ≫ Http4s Version 1.0.0 Update milestone18
Typelevel ≫ Http4s Version 1.0.0 Update milestone19
Typelevel ≫ Http4s Version 1.0.0 Update milestone2
Typelevel ≫ Http4s Version 1.0.0 Update milestone20
Typelevel ≫ Http4s Version 1.0.0 Update milestone21
Typelevel ≫ Http4s Version 1.0.0 Update milestone22
Typelevel ≫ Http4s Version 1.0.0 Update milestone23
Typelevel ≫ Http4s Version 1.0.0 Update milestone24
Typelevel ≫ Http4s Version 1.0.0 Update milestone25
Typelevel ≫ Http4s Version 1.0.0 Update milestone26
Typelevel ≫ Http4s Version 1.0.0 Update milestone3
Typelevel ≫ Http4s Version 1.0.0 Update milestone4
Typelevel ≫ Http4s Version 1.0.0 Update milestone5
Typelevel ≫ Http4s Version 1.0.0 Update milestone6
Typelevel ≫ Http4s Version 1.0.0 Update milestone7
Typelevel ≫ Http4s Version 1.0.0 Update milestone8
Typelevel ≫ Http4s Version 1.0.0 Update milestone9
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 1.24% 0.656
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 4.7 2.8 1.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
NIST 4.3 8.6 2.9
AV:N/AC:M/Au:N/C:N/I:P/A:N
security-advisories@github.com 8.7 2.2 5.8
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

CWE-918 Server-Side Request Forgery (SSRF)

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

https://owasp.org/www-community/attacks/HTTP_Response_Splitting
Third Party Advisory
https://github.com/http4s/http4s/commit/d02007db1da4f8f3df2dbf11f1db9ac7afc3f9d8
Patch
Third Party Advisory
https://github.com/http4s/http4s/security/advisories/GHSA-5vcm-3xc3-w7x3
Third Party Advisory
Exploit
https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#fields.values
Vendor Advisory