CVE-2021-29480
Java vulnerability analysis and mitigation

Overview

CVE-2021-29480 affects Ratpack, a toolkit for creating web applications. The vulnerability was discovered in versions prior to 1.9.0, where the client side session module used the application startup time as the signing key by default. This security issue was disclosed on June 29, 2021 (GitHub Advisory).

Technical details

The vulnerability exists in the ClientSideSessionConfig.java file where the default secretToken is set using System.currentTimeMillis() / 10000. This implementation makes the signing key predictable, especially if an attacker can determine the application's startup time. The vulnerability has been assigned a CVSS v3.1 base score of 3.1 LOW (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N) by NVD, while GitHub rates it as 4.4 MEDIUM (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N) (NVD).

Impact

If an attacker can determine the application startup time and encryption is not enabled (which is not on by default), they could potentially tamper with session data through cookie manipulation. Additionally, the default configuration makes the application unsuitable for production use as any application restart invalidates all sessions and lacks multi-host compatibility (GitHub Advisory).

Exploitability

The vulnerability requires the attacker to have the ability to write cookies and determine the application's startup time. The attack complexity is considered high according to the NVD scoring, and requires low privileges to execute (NVD).

Mitigation and workarounds

The vulnerability has been patched in Ratpack version 1.9.0, where the default value is changed to a securely randomly generated value at application startup time. As a workaround for affected versions, users should supply an alternative signing key as per the documentation's recommendation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management