CVE-2021-41084
Summary
| CVE | CVE-2021-41084 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-09-21 18:15:00 UTC |
| Updated | 2022-10-25 14:56:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-74
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Typelevel | Http4s | All | All | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone1 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone10 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone11 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone12 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone13 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone14 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone15 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone16 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone17 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone18 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone19 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone2 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone20 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone21 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone22 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone23 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone24 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone25 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone26 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone3 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone4 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone5 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone6 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone7 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone8 | All | All |
| Application | Typelevel | Http4s | 1.0.0 | milestone9 | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Response Splitting from unsanitized headers · Advisory · http4s/http4s · GitHub | CONFIRM | github.com | |
| Merge pull request from GHSA-5vcm-3xc3-w7x3 · http4s/http4s@d02007d · GitHub | MISC | github.com | |
| HTTP Semantics | MISC | httpwg.org | |
| HTTP Response Splitting Software Attack | OWASP Foundation | MISC | owasp.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.