CVE-2021-29479
published high CVSS 3.1 · 7.0Cached redirect poisoning via X-Forwarded-Host header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ratpack | — | ratpack< 1.9.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ratpack | ratpack | < 1.9.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-807 CWE-807: Reliance on Untrusted Inputs in a Security Decision
References
2Provider assertions
2GitHub_M · cna
Cached redirect poisoning via X-Forwarded-Host header
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 09dd201c76bd588de50a2be717ffec61560b8fb99435bdce8d9c73f1de068fa1
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record