Live threats

All CVEs / Ratpack Project

CVE-2021-29485Ratpack Project Ratpack

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
Yes
Published
Jun 29, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, a malicious attacker can achieve Remote Code Execution (RCE) via a maliciously crafted Java deserialization gadget chain leveraged against the Ratpack session store. If one's application does not use Ratpack's session mechanism, it is not vulnerable. Ratpack 1.9.0 introduces a strict allow-list mechanism that mitigates this vulnerability when used. Two possible workarounds exist. The simplest mitigation for users of earlier versions is to reduce the likelihood of attackers being able to write to the session data store. Alternatively or additionally, the allow-list mechanism could be manually back ported by providing an alternative implementation of `SessionSerializer` that uses an allow-list.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ratpack.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven io.ratpack:ratpack-core < 1.9.0 1.9.0 —

Per OSV / GitHub Advisories (GHSA-hc33-32vw-rpp9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ratpack_projectratpack< 1.9.0

Official sources

References

Links published by the sources. Open them with care.