Description
An issue was discovered in Ratpack before 1.7.5. Due to a misuse of the Netty library class DefaultHttpHeaders, there is no validation that headers lack HTTP control characters. Thus, if untrusted data is used to construct HTTP headers with Ratpack, HTTP Response Splitting can occur.
Remediation
References
https://github.com/ratpack/ratpack/commit/c560a8d10cb8bdd7a526c1ca2e67c8f224ca23ae
https://github.com/ratpack/ratpack/commit/efb910d38a96494256f36675ef0e5061097dd77d
https://github.com/ratpack/ratpack/releases/tag/v1.7.5
https://github.com/ratpack/ratpack/security/advisories/GHSA-mvqp-q37c-wf9j
https://ratpack.io/versions/1.7.5
Related Vulnerabilities
CVE-2021-23470 Vulnerability in npm package putil-merge
CVE-2021-45459 Vulnerability in npm package node-windows
CVE-2019-15479 Vulnerability in npm package status-board
CVE-2020-26256 Vulnerability in maven package org.webjars.npm:fast-csv
CVE-2020-28459 Vulnerability in npm package markdown-it-decorate