[MAVEN:GHSA-2CC5-23R7-VC4V] Ratpack's default client side session signing key is highly predictable
Severity
Moderate
Affected Packages
1
Fixed Packages
1
CVEs
1
Impact
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.
Vulnerability Location
Patches
As of Ratpack 1.9.0 the default value is a securely randomly generated value, generated at application startup time.
Workarounds
Supply an alternative signing key, as per the documentation's recommendation.
Package | Affected Version |
---|---|
pkg:maven/io.ratpack/ratpack-session | < 1.9.0 |
Package | Fixed Version |
---|---|
pkg:maven/io.ratpack/ratpack-session | = 1.9.0 |
- ID
- MAVEN:GHSA-2CC5-23R7-VC4V
- Severity
- moderate
- URL
- https://github.com/advisories/GHSA-2cc5-23r7-vc4v
- Published
-
2021-07-01T17:02:26
(3 years ago) - Modified
-
2023-01-29T05:02:32
(19 months ago) - Rights
- Maven Security Team
Type | Package URL | Namespace | Name / Product | Version | Distribution / Platform | Arch | Patch / Fix |
---|---|---|---|---|---|---|---|
Affected | pkg:maven/io.ratpack/ratpack-session | io.ratpack | ratpack-session | < 1.9.0 | |||
Fixed | pkg:maven/io.ratpack/ratpack-session | io.ratpack | ratpack-session | = 1.9.0 |
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | Exploits | PoC | Pubblication Date | Modification Date |
---|---|---|---|---|---|---|---|---|---|---|---|
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | PoC | Pubblication Date | Modification Date |