← Back to browse · API

CVE-2021-29485

Severity
CRITICAL
CVSS
9.9
EPSS
0.01989
Risk score
40.3
CISA KEV
No
PoC
No
Published
2021-06-29
Modified
2024-08-03
First seen
2026-08-08
Aliases
EUVD-2021-1475, GHSA-HC33-32VW-RPP9
Products
ratpack:ratpack < 1.9.0
Sources
euvd EUVD-2021-1475

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