CVE-2021-29485Ratpack Project Ratpack
High 8.8
Follow: this CVE · Ratpack Project · Ratpack Project Ratpack We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ratpack.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| ratpack_project | ratpack | < 1.9.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- mvnrepository.com Release Notes Third Party Advisory