Medium severity · published Jun 29, 2021
CVE-2021-29479
Ratpack is a toolkit for creating web applications
6.1
CVSS
0.9%
EPSS
No
On KEV
Description
Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, a user supplied `X-Forwarded-Host` header can be used to perform cache poisoning of a cache fronting a Ratpack server if the cache key does not include the `X-Forwarded-Host` header as a cache key. Users are only vulnerable if they do not configure a custom `PublicAddress` instance. For versions prior to 1.9.0, by default, Ratpack utilizes an inferring version of `PublicAddress` which is vulnerable. This can be used to perform redirect cache poisoning where an attacker can force a cached redirect to redirect to their site instead of the intended redirect location. The vulnerability was patched in Ratpack 1.9.0. As a workaround, ensure that `ServerConfigBuilder::publicAddress` correctly configures the server in production.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 58% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
Ratpack · Ratpack Project
before 1.9.0 · source: NVD
Affected product
RA
Ratpack
Ratpack Project
More from Ratpack
8.8
CVE-2021-29485
Ratpack is a toolkit for creating web applications
7.5
CVE-2021-29481
Ratpack is a toolkit for creating web applications
7.5
CVE-2019-17513
An issue was discovered in Ratpack before 1.7.5
3.7
CVE-2019-11808
Ratpack versions before 1.6.1 generate a session ID using a cryptographically weak PRNG in the JDK's ThreadLocalRandom
3.1
CVE-2021-29480
Ratpack is a toolkit for creating web applications