Deserialization in Ratpack
CVE-2021-29485
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.020 (79.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 79.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.020 · change: 0.000
Affected products
- Ratpack — versions < 1.9.0
- Ratpack Project
Weakness classification (CWE)
References
- github.com/ratpack/ratpack/security/advisories/GHSA-hc33-32vw-rpp9 (Third Party Advisory)
- mvnrepository.com/artifact/io.ratpack/ratpack-core (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2021-29485?
- CVE-2021-29485 is a critical-severity vulnerability in Ratpack, classified under Deserialization of Untrusted Data. CVSS score: 9.9/10. Published 2021-06-29.
- How severe is CVE-2021-29485?
- Critical severity. CVSS v3 base score is 9.9 out of 10.