CVE-2021-29481
published medium CVSS 3.1 · 6.5Client side sessions should not allow unencrypted storage
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 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.
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
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/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-312 CWE-312: Cleartext Storage of Sensitive Information
References
2Provider assertions
2GitHub_M · cna
Client side sessions should not allow unencrypted storage
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cbe28c66eda779cb3b5c08bf8369cb77d200bae83896d1ea544d64c7629e9a99
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record