Security mailing lists by PureSourceCode

CVE-2021-29479

MEDIUM 6.1CVSS 3.1

Cached redirect poisoning via X-Forwarded-Host header

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.

Published
29 Jun 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-807
Also known as
GHSA-w6rq-6h34-vh7q
Sources
NVDJSONOSV GHSA-w6rq-6h34-vh7qJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.0 AV:N/AC:H/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ratpack_project ratpack
cpe:2.3:a:ratpack_project:ratpack:*:*:*:*:*:*:*:*
< 1.9.0 1.9.0
OSV Maven io.ratpack:ratpack-core < 1.9.0 1.9.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Jun 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Jul 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.