CVE-2021-29485
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
io.ratpack:ratpack-coreMaven | < 1.9.0 | 1.9.0 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-hc33-32vw-rpp9ghsaADVISORY
- github.com/ratpack/ratpack/security/advisories/GHSA-hc33-32vw-rpp9nvdThird Party AdvisoryWEB
- mvnrepository.com/artifact/io.ratpack/ratpack-corenvdRelease NotesThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-29485ghsaADVISORY
News mentions
0No linked articles in our index yet.