SCA: security update for io.ratpack:ratpack-core (GHSA-w6rq-6h34-vh7q)

medium Tenable Self-Hosted Container Security Plugin ID 419758

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2021-29479)

See Also

https://github.com/advisories/GHSA-w6rq-6h34-vh7q

Plugin Details

Severity: Medium

ID: 419758

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2021-29479

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/1/2021

Vulnerability Publication Date: 6/29/2021

Reference Information

CVE: CVE-2021-29479

cwe: CWE-807