Live threats

All CVEs / Ratpack Project

CVE-2021-29481Ratpack Project Ratpack

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.5%
probability of exploitation in 30 days · percentile 41
Auth required
No
Published
Jun 29, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-312
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, the default configuration of client side sessions results in unencrypted, but signed, data being set as cookie values. This means that if something sensitive goes into the session, it could be read by something with access to the cookies. For this to be a vulnerability, some kind of sensitive data would need to be stored in the session and the session cookie would have to leak. For example, the cookies are not configured with httpOnly and an adjacent XSS vulnerability within the site allowed capture of the cookies. As of version 1.9.0, a securely randomly generated signing key is used. As a workaround, one may supply an encryption key, as per the documentation recommendation.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ratpack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven io.ratpack:ratpack-session < 1.9.0 1.9.0 —

Per OSV / GitHub Advisories (GHSA-phj8-4cq3-794g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ratpack_projectratpack< 1.9.0

Official sources

References

Links published by the sources. Open them with care.