CVE-2021-41084 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/http4s/http4s/commit/d02007db1da4f8f3df2dbf11f1db9ac7afc3f9d8 | CVE | PatchThird Party Advisory |
| https://github.com/http4s/http4s/security/advisories/GHSA-5vcm-3xc3-w7x3 | CVE | ExploitThird Party Advisory |
| https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#fields.values | CVE | Vendor Advisory |
| https://owasp.org/www-community/attacks/HTTP_Response_Splitting | CVE | Third Party Advisory |
| https://github.com/http4s/http4s/commit/d02007db1da4f8f3df2dbf11f1db9ac7afc3f9d8 | [email protected] | PatchThird Party Advisory |
| https://github.com/http4s/http4s/security/advisories/GHSA-5vcm-3xc3-w7x3 | [email protected] | ExploitThird Party Advisory |
| https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#fields.values | [email protected] | Vendor Advisory |
| https://owasp.org/www-community/attacks/HTTP_Response_Splitting | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| typelevel http4s | < 0.21.29 >= 0.22.0, < 0.22.5 >= 0.23.0, < 0.23.4 1.0.0 milestone1 1.0.0 milestone10 1.0.0 milestone11 1.0.0 milestone12 1.0.0 milestone13 1.0.0 milestone14 1.0.0 milestone15 1.0.0 milestone16 1.0.0 milestone17 1.0.0 milestone18 1.0.0 milestone19 1.0.0 milestone2 1.0.0 milestone20 1.0.0 milestone21 1.0.0 milestone22 1.0.0 milestone23 1.0.0 milestone24 1.0.0 milestone25 1.0.0 milestone26 1.0.0 milestone3 1.0.0 milestone4 1.0.0 milestone5 1.0.0 milestone6 1.0.0 milestone7 1.0.0 milestone8 1.0.0 milestone9 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 25, 2022 | Reanalysis | [email protected] |
| Oct 6, 2021 | Initial Analysis | [email protected] |