Skip to content

CVE-2021-41084 Response Splitting from unsanitized headers in http4s

MediumCVSS 4.7 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

11 packages: 10 fixed.

PackageAffectedFixed inStatus
org.http4s/http4s-client_2.12(Maven) < 0.21.29; <= 0.21.28; = 0.10.0-M10; = 0.15.0 +201 more 0.21.29, 0.22.5, 0.23.4 Fixed
org.http4s/http4s-client_2.13(Maven) < 0.21.29; <= 0.21.28; = 0.10.0-M10; = 0.21.0 +55 more 0.21.29, 0.22.5, 0.23.4 Fixed
org.http4s/http4s-client_3(Maven) < 0.21.29; <= 0.21.28; = 0.22.0; = 0.22.1 +11 more 0.21.29, 0.22.5, 0.23.4 Fixed
org.http4s/http4s-server_2.10(Maven) <= 0.21.28; = 0.2.0; = 0.3.0; = 0.4.0 +128 more after 0.21.28 Fixed
org.http4s/http4s-server_2.11(Maven) <= 0.21.28; = 0.2.0; = 0.3.0; = 0.4.0 +217 more after 0.21.28 Fixed
org.http4s/http4s-server_2.12(Maven) < 0.21.29; <= 0.21.28; = 0.10.0-M10; = 0.15.0 +201 more 0.21.29, 0.22.5, 0.23.4 Fixed
org.http4s/http4s-server_2.13(Maven) < 0.21.29; <= 0.21.28; = 0.10.0-M10; = 0.21.0 +55 more 0.21.29, 0.22.5, 0.23.4 Fixed
org.http4s/http4s-server_2.13.0-M5(Maven) <= 0.21.28; = 0.20.0; = 0.20.0-RC1; = 0.20.1 +9 more after 0.21.28 Fixed
org.http4s/http4s-server_3(Maven) = 0.22.0; = 0.22.1; = 0.22.2; = 0.22.3 +9 more 0.22.5, 0.23.4 Fixed
typelevel http4s < 0.21.29; = 1.0.0-milestone1; = 1.0.0-milestone2; = 1.0.0-milestone3 +25 more 0.21.29, 0.22.5, 0.23.4 Fixed
http4s = <= 0.21.28; = >= 0.22.0, < 0.22.5; = >= 0.23.0, < 0.23.4; = >= 1.0.0-M1, < 1.0.0-M27 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.http4s/http4s-client_2.12(Maven) < 0.21.29 0.21.29
org.http4s/http4s-client_2.12(Maven) = 0.10.0-M10 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.0a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.10 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.10a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.11 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.11a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.12 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.12a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.13 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.13a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.14 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.14a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.15 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.15a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.16 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.16a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.1a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.2a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.3a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.4 No fix listed
Show 175 more
ProductAffected versionsFixed in
org.http4s/http4s-client_2.12(Maven) = 0.15.4a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.5a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.6a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.7a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.8a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.15.9a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-RC2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0-RC3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-RC2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.0a-RC3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.1a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.2a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.3a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.4a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.5a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.16.6a No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-RC2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.0-RC3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.17.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.0-M9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.10 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.11 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.12 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.13 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.14 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.15 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.16 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.17 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.18 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.19 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.20 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.21 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.22 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.23 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.24 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.25 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.26 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.18.9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.19.0-M4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-M7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.0-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.10 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.11 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.12 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.13 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.14 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.15 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.16 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.17 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.18 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.19 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.20 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.21 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.22 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.23 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.20.9 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-M6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.0-RC5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.11 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.12 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.13 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.14 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.15 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.16 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.17 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.18 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.19 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.20 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.21 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.22 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.23 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.24 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.25 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.26 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.27 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.28 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.4 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.6 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.7 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.8 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.21.9 No fix listed
org.http4s/http4s-client_2.12(Maven) >= 0.22.0, < 0.22.5 0.22.5
org.http4s/http4s-client_2.12(Maven) = 0.22-129-24d065b No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22-143-49b5a8d No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22-53-01128f5 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22-96-55d3184 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22.1 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22.2 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22.3 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.22.4 No fix listed
org.http4s/http4s-client_2.12(Maven) >= 0.23.0, < 0.23.4 0.23.4
org.http4s/http4s-client_2.12(Maven) = 0.23.0 No fix listed
org.http4s/http4s-client_2.12(Maven) = 0.23.1 No fix listed

References