High severity · published Jun 29, 2021
CVE-2021-29485
Ratpack is a toolkit for creating web applications
8.8
CVSS
2%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RA
Ratpack · Ratpack Project
before 1.9.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-29485
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-29485
Third Party Advisory
https://github.com/ratpack/ratpack/security/advisories/GHSA-hc33-32vw-rpp9
Release Notes
https://mvnrepository.com/artifact/io.ratpack/ratpack-core
More from Ratpack
7.5
CVE-2021-29481
Ratpack is a toolkit for creating web applications
7.5
CVE-2019-17513
An issue was discovered in Ratpack before 1.7.5
6.1
CVE-2021-29479
Ratpack is a toolkit for creating web applications
3.7
CVE-2019-11808
Ratpack versions before 1.6.1 generate a session ID using a cryptographically weak PRNG in the JDK's ThreadLocalRandom
3.1
CVE-2021-29480
Ratpack is a toolkit for creating web applications
