CVE-2021-29485
HIGH 8.8CVSS 3.1Remote Code Execution Vulnerability in Session Storage
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.
- Published
- 29 Jun 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-hc33-32vw-rpp9
- Sources
- NVDJSONOSV GHSA-hc33-32vw-rpp9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ratpack_project | ratpackcpe: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
- https://github.com/ratpack/ratpack/security/advisories/GHSA-hc33-32vw-rpp9 · Third Party Advisory, WEB
- https://mvnrepository.com/artifact/io.ratpack/ratpack-core · Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-29485 · ADVISORY
- https://github.com/ratpack/ratpack · PACKAGE
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)