CVE-2021-29480
published medium CVSS 3.1 · 4.4Default client side session signing key is highly predictable
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ratpack | — | ratpack< 1.9.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ratpack | ratpack | < 1.9.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-340 CWE-340: Generation of Predictable Numbers or Identifiers
References
2Provider assertions
2GitHub_M · cna
Default client side session signing key is highly predictable
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cb730d99ca15c64297c2c9da341cf829c40413f56b818ca07722c555297a77a3
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record