LiveActive security incident?Get immediate response
CVE Record

CVE-2021-29480: Default client side session signing key is highly predictable

Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, the client side session module uses the application startup time as the signing key by default. This means that if an attacker can determine this time, and if encryption is not also used (which is recommended, but is not on by default), the session data could be tampered with by someone with the ability to write cookies. The default configuration is unsuitable for production use as an application restart renders all sessions invalid and is not multi-host compatible, but its use is not actively prevented. As of Ratpack 1.9.0, the default value is a securely randomly generated value, generated at application startup time. As a workaround, supply an alternative signing key, as per the documentation's recommendation.

MediumCVSS 4.4Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Ratpack apps using client-side sessions before 1.9.0 may have used a predictable default cookie signing key based on application startup time. If an attacker can write cookies and infer that time, session data could be modified when encryption is not enabled. The supplied sources do not report active exploitation.

Executive priority

Treat this as a targeted remediation item, not an emergency. The impact is session integrity risk in specific Ratpack configurations, with no supplied evidence of active exploitation. Prioritize upgrading or replacing default keys for affected production applications.

Technical view

The client-side session config defaulted the signing key to application startup time. In Ratpack <1.9.0, this weak default could permit cookie/session tampering when client-side session encryption is absent. Ratpack 1.9.0 changed the default to a securely random startup-generated value; the vendor workaround is to supply an alternative signing key.

Likely exposure

Exposure is limited to applications using ratpack/ratpack <1.9.0 with the client-side session module, the default signing key, and no session encryption. Production use of the default is called unsuitable by the advisory, but the affected condition still depends on application configuration.

Exploitation context

The advisory describes prerequisites: ability to write cookies, determine application startup time, and absence of encryption. CVE metadata marks the issue medium severity with local access and low privileges. KEV status is false, and the supplied sources provide no evidence of active exploitation.

Researcher notes

Key evidence is the GitHub advisory and linked source showing the default behavior. The vulnerable condition is configuration-sensitive: predictable signing key plus no encryption plus attacker cookie write capability. Avoid assuming all Ratpack applications are exploitable without confirming client-side session usage and defaults.

Mitigation direction

  • Upgrade Ratpack to 1.9.0 or later where the default signing key is random.
  • Supply a strong alternative signing key as recommended by Ratpack documentation.
  • Enable client-side session encryption where the application design supports it.
  • Check vendor guidance before choosing any non-documented compensating control.

Validation and detection

  • Inventory services using ratpack/ratpack versions earlier than 1.9.0.
  • Identify applications using the client-side session module.
  • Review configuration for an explicit non-default signing key.
  • Confirm whether client-side session encryption is enabled.
  • Prioritize internet-facing or shared-host deployments for configuration review.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-340: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-29480 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.4 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.4CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N1.82.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.4Medium
CVSS 3.1 vector shape for CVE-2021-29480Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
ratpackratpack< 1.9.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-340 · source CWE mapping

Generation of Predictable Numbers or Identifiers

Generation of Predictable Numbers or Identifiers represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.