CVE-2021-41084
CVE-2021-41084 is a high-severity vulnerability in Typelevel Http4s with a CVSS 3.x base score of 8.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-74.
Key facts
- Severity: High (CVSS 3.x base score 8.7)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (64th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-74
- Affected product: Typelevel Http4s
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-41084?
- 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.
- How severe is CVE-2021-41084?
- CVE-2021-41084 has a CVSS 3.x base score of 8.7, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2021-41084 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (64th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-41084?
- CVE-2021-41084 primarily affects Typelevel Http4s. In total, 27 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-41084?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-41084 published?
- CVE-2021-41084 was published on 2021-09-21 and last updated on 2026-06-17.
References
- https://github.com/http4s/http4s/commit/d02007db1da4f8f3df2dbf11f1db9ac7afc3f9d8
- https://github.com/http4s/http4s/security/advisories/GHSA-5vcm-3xc3-w7x3
- https://httpwg.org/http-core/draft-ietf-httpbis-semantics-latest.html#fields.values
- https://owasp.org/www-community/attacks/HTTP_Response_Splitting
Affected products (27)
- cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone1:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone10:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone11:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone12:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone13:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone14:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone15:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone16:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone17:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone18:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone19:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone2:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone20:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone21:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone22:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone23:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone24:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone25:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone26:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone3:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone4:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone5:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone6:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone7:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone8:*:*:*:*:*:*
- cpe:2.3:a:typelevel:http4s:1.0.0:milestone9:*:*:*:*:*:*
More vulnerabilities in Typelevel Http4s
- CVE-2021-39185 — Critical (CVSS 9.1): Http4s is a minimal, idiomatic Scala interface for HTTP services. In http4s versions 0.21.26 and prior, 0.22.0 through…
- CVE-2020-5280 — High (CVSS 7.6): http4s before versions 0.18.26, 0.20.20, and 0.21.2 has a local file inclusion vulnerability. This vulnerability…
- CVE-2025-59822 — High (CVSS 7.5): Http4s is a Scala interface for HTTP services. In versions from 1.0.0-M1 to before 1.0.0-M45 and before 0.23.31, http4s…
- CVE-2023-22465 — High (CVSS 7.5): Http4s is a Scala interface for HTTP services. Starting with version 0.1.0 and prior to versions 0.21.34, 0.22.15,…
- CVE-2021-21294 — High (CVSS 7.5): Http4s (http4s-blaze-server) is a minimal, idiomatic Scala interface for HTTP services. Http4s before versions 0.21.17,…
- CVE-2021-32643 — Medium (CVSS 5.8): Http4s is a Scala interface for HTTP services. `StaticFile.fromUrl` can leak the presence of a directory on a server…
All CVEs affecting Typelevel Http4s →
Other CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities
- CVE-2026-25586 — Critical (CVSS 10.0): SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, a sandbox escape is possible by shadowing hasOwnProperty…
- CVE-2026-25520 — Critical (CVSS 10.0): SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, The return values of functions aren't wrapped.…
- CVE-2025-20265 — Critical (CVSS 10.0): A vulnerability in the RADIUS subsystem implementation of Cisco Secure Firewall Management Center (FMC) Software could…
- CVE-2025-20337 — Critical (CVSS 10.0): A vulnerability in a specific API of Cisco ISE and Cisco ISE-PIC could allow an unauthenticated, remote attacker to…
- CVE-2025-20281 — Critical (CVSS 10.0): A vulnerability in a specific API of Cisco ISE and Cisco ISE-PIC could allow an unauthenticated, remote attacker to…
- CVE-2024-42472 — Critical (CVSS 10.0): Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.14.0 and 1.15.10, a malicious…
Browse all CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities →