CVE-2021-29485

CRITICAL

Ratpack < 1.9.0 - Remote Code Execution via Java Deserialization Gadget Chain

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Release Notes, Third Party Advisory x_refsource_misc
https://mvnrepository.com/artifact/io.ratpack/ratpack-core

Scores

CVSS v3 9.9
EPSS 0.0197
EPSS Percentile 77.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Details

CWE
CWE-502
Status published
Products (2)
io.ratpack/ratpack-core 0 - 1.9.0Maven
ratpack_project/ratpack < 1.9.0
Published Jun 29, 2021
Tracked Since Feb 18, 2026