Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ratpack Project | Ratpack | < 1.9.0 |
Related Weaknesses (CWE)
References
- https://github.com/ratpack/ratpack/security/advisories/GHSA-hc33-32vw-rpp9Third Party Advisory
- https://mvnrepository.com/artifact/io.ratpack/ratpack-coreRelease NotesThird Party Advisory
- https://github.com/ratpack/ratpack/security/advisories/GHSA-hc33-32vw-rpp9Third Party Advisory
- https://mvnrepository.com/artifact/io.ratpack/ratpack-coreRelease NotesThird Party Advisory
FAQ
What is CVE-2021-29485?
CVE-2021-29485 is a vulnerability with a CVSS score of 9.9 (CRITICAL). 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...
How severe is CVE-2021-29485?
CVE-2021-29485 has been rated CRITICAL with a CVSS base score of 9.9/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-29485?
Check the references section above for vendor advisories and patch information. Affected products include: Ratpack Project Ratpack.