Security mailing lists by PureSourceCode

CVE-2021-41084

MEDIUM 4.7CVSS 3.1

Response Splitting from unsanitized headers

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.

Published
21 Sep 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-74CWE-918
Also known as
GHSA-5vcm-3xc3-w7x3
Sources
NVDJSONOSV GHSA-5vcm-3xc3-w7x3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 8.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*
< 0.21.29 0.21.29
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*
>= 0.22.0, < 0.22.5 0.22.5
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:*
>= 0.23.0, < 0.23.4 0.23.4
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone1:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone10:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone11:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone12:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone13:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone14:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone15:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone16:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone17:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone18:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone19:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone2:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone20:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone21:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone22:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone23:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone24:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone25:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone26:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone3:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone4:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone5:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone6:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone7:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone8:*:*:*:*:*:*
= 1.0.0
NVD typelevel http4s
cpe:2.3:a:typelevel:http4s:1.0.0:milestone9:*:*:*:*:*:*
= 1.0.0
OSV Maven org.http4s:http4s-client_2.12 < 0.21.29 0.21.29
OSV Maven org.http4s:http4s-client_2.12 >= 0.22.0, < 0.22.5 0.22.5
OSV Maven org.http4s:http4s-client_2.12 >= 0.23.0, < 0.23.4 0.23.4
OSV Maven org.http4s:http4s-client_2.13 < 0.21.29 0.21.29
OSV Maven org.http4s:http4s-client_2.13 >= 0.22.0, < 0.22.5 0.22.5
OSV Maven org.http4s:http4s-client_2.13 >= 0.23.0, < 0.23.4 0.23.4
OSV Maven org.http4s:http4s-client_3 < 0.21.29 0.21.29
OSV Maven org.http4s:http4s-client_3 >= 0.22.0, < 0.22.5 0.22.5
OSV Maven org.http4s:http4s-client_3 >= 0.23.0, < 0.23.4 0.23.4
OSV Maven org.http4s:http4s-server_2.10 <= 0.21.28
OSV Maven org.http4s:http4s-server_2.11 <= 0.21.28
OSV Maven org.http4s:http4s-server_2.12 < 0.21.29 0.21.29
OSV Maven org.http4s:http4s-server_2.12 >= 0.22.0, < 0.22.5 0.22.5
OSV Maven org.http4s:http4s-server_2.12 >= 0.23.0, < 0.23.4 0.23.4
OSV Maven org.http4s:http4s-server_2.13 < 0.21.29 0.21.29
OSV Maven org.http4s:http4s-server_2.13 >= 0.22.0, < 0.22.5 0.22.5
OSV Maven org.http4s:http4s-server_2.13 >= 0.23.0, < 0.23.4 0.23.4
OSV Maven org.http4s:http4s-server_2.13.0-M5 <= 0.21.28
OSV Maven org.http4s:http4s-server_3 >= 0.22.0, < 0.22.5 0.22.5
OSV Maven org.http4s:http4s-server_3 >= 0.23.0, < 0.23.4 0.23.4

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 21 Sep 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Sep 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.