CVE-2021-29479
CVE-2021-29479 is a high-severity vulnerability in Ratpack Project Ratpack with a CVSS 3.x base score of 7.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-807.
Key facts
- Severity: High (CVSS 3.x base score 7.0)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (54th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-807
- Affected product: Ratpack Project Ratpack
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-29479?
- 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.
- How severe is CVE-2021-29479?
- CVE-2021-29479 has a CVSS 3.x base score of 7.0, rated high severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity high, and availability low.
- Is CVE-2021-29479 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-29479?
- CVE-2021-29479 affects Ratpack Project Ratpack. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-29479?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-29479 published?
- CVE-2021-29479 was published on 2021-06-29 and last updated on 2026-06-17.
References
- https://github.com/ratpack/ratpack/security/advisories/GHSA-w6rq-6h34-vh7q
- https://portswigger.net/web-security/web-cache-poisoning
Affected products (1)
- cpe:2.3:a:ratpack_project:ratpack:*:*:*:*:*:*:*:*
More vulnerabilities in Ratpack Project Ratpack
- CVE-2021-29485 — Critical (CVSS 9.9): Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, a malicious attacker can achieve Remote…
- CVE-2019-17513 — High (CVSS 7.5): An issue was discovered in Ratpack before 1.7.5. Due to a misuse of the Netty library class DefaultHttpHeaders, there…
- CVE-2021-29481 — Medium (CVSS 6.5): Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, the default configuration of client…
- CVE-2021-29480 — Medium (CVSS 4.4): Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, the client side session module uses the…
- CVE-2019-11808 — Low (CVSS 3.7): Ratpack versions before 1.6.1 generate a session ID using a cryptographically weak PRNG in the JDK's ThreadLocalRandom.…
All CVEs affecting Ratpack Project Ratpack →
Other CWE-807 vulnerabilities
- CVE-2025-13926 — Critical (CVSS 9.8): An attacker could use data obtained by sniffing the network traffic to forge packets in order to make arbitrary…
- CVE-2026-32975 — Critical (CVSS 9.8): OpenClaw before 2026.3.12 contains a weak authorization vulnerability in Zalouser allowlist mode that matches mutable…
- CVE-2025-12488 — Critical (CVSS 9.8): oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability.…
- CVE-2025-12487 — Critical (CVSS 9.8): oobabooga text-generation-webui trust_remote_code Reliance on Untrusted Inputs Remote Code Execution Vulnerability.…
- CVE-2025-49827 — Critical (CVSS 9.8): Conjur provides secrets management and application identity for infrastructure. Conjur OSS versions 1.19.5 through…
- CVE-2025-1126 — Critical (CVSS 9.3): A Reliance on Untrusted Inputs in a Security Decision vulnerability has been identified in the Lexmark Print Management…