Live threats

All CVEs / Ratpack Project

CVE-2021-29479Ratpack Project Ratpack

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Jun 29, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-807
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ratpack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven io.ratpack:ratpack-core < 1.9.0 1.9.0 —

Per OSV / GitHub Advisories (GHSA-w6rq-6h34-vh7q). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ratpack_projectratpack< 1.9.0

Official sources

References

Links published by the sources. Open them with care.