CVE-2021-41084

Public Exploit
Response Splitting from unsanitized headers in http4s

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.

Categories

8.7
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.74% Top 30%
Vendor Advisory httpwg.org
Affected: http4s http4s
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-41084?
CVE-2021-41084 has been scored as a high severity vulnerability.
How to fix CVE-2021-41084?
To fix CVE-2021-41084, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-41084 being actively exploited in the wild?
It is possible that CVE-2021-41084 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-41084?
CVE-2021-41084 affects http4s http4s.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. 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.
© 2025 Under My Watch. All Rights Reserved.