{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-29479","published":"2021-06-29T15:15:18.870000Z","last_modified":"2026-06-17T03:47:43.630000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-807"],"cpes":[{"criteria":"cpe:2.3:a:ratpack_project:ratpack:*:*:*:*:*:*:*:*","part":"a","vendor":"ratpack_project","product":"ratpack","version_end_excluding":"1.9.0"}],"cpes_truncated":false,"vendors":["ratpack_project"],"products":["ratpack_project/ratpack"],"epss":{"score":0.00857,"percentile":0.59494,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w6rq-6h34-vh7q","ecosystem":"Maven","name":"io.ratpack:ratpack-core","purl":"pkg:maven/io.ratpack/ratpack-core","ranges":[{"introduced":"0","fixed":"1.9.0"}],"versions":["0.9.0","0.9.1","0.9.10","0.9.11","0.9.12","0.9.13","0.9.14","0.9.15","0.9.16","0.9.17","0.9.18","0.9.19","0.9.2","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","1.0.0","1.0.0-rc-1","1.0.0-rc-2","1.0.0-rc-3","1.1.0","1.1.1","1.2.0","1.2.0-RC-1","1.2.0-rc-2","1.3.0","1.3.0-rc-1","1.3.0-rc-2","1.3.1","1.3.2","1.3.3","1.4.0","1.4.0-rc-1","1.4.0-rc-2","1.4.0-rc-3","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","1.6.0-rc-1","1.6.0-rc-2","1.6.0-rc-3","1.6.0-rc-4","1.6.1","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.8.0","1.8.1","1.8.2","1.9.0-rc-1","1.9.0-rc-2"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-29479/","html_en":"/en/cve/CVE-2021-29479/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29479","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29479"},"untrusted":{"vendor_name":"Ratpack Project","product_name":"Ratpack","desc_en":"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.","affected":[{"untrusted_vendor":"ratpack","untrusted_product":"ratpack","versions":[]}],"references":[{"url":"https://github.com/ratpack/ratpack/security/advisories/GHSA-w6rq-6h34-vh7q","tags":["Third Party Advisory"]},{"url":"https://portswigger.net/web-security/web-cache-poisoning","tags":["Exploit","Third Party Advisory"]}]}}