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-2020-36629 Vulnerability in npm package httpster
CVE-2021-21364 Vulnerability in maven package io.swagger:swagger-codegen
CVE-2020-28052 Vulnerability in maven package org.bouncycastle:bcprov-jdk15to18
CVE-2020-5232 Vulnerability in npm package @ensdomains/ens
CVE-2023-28155 Vulnerability in maven package org.webjars:request