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

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2021-06-29T18:15:12.000Z
- Modified: 2026-07-08T06:28:57.921Z
- Also known as: GHSA-2cc5-23r7-vc4v
- Weaknesses: CWE-330, CWE-340
- Assigned by: 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.

(As written by CVE List.)

## Affected

- ratpack ratpack: < 1.9.0
- io.ratpack:ratpack-session (Maven): before 1.9.0
- ratpack_project ratpack: before 1.9.0

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/ratpack/ratpack/security/advisories/GHSA-2cc5-23r7-vc4v> (third-party-advisory, web)
- <https://github.com/ratpack/ratpack/blob/29434f7ac6fd4b36a4495429b70f4c8163100332/ratpack-session/src/main/java/ratpack/session/clientside/ClientSideSessionConfig.java#L29> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29480> (advisory)
- <https://github.com/ratpack/ratpack> (package)

## Sources

- CVE List: [CVE-2021-29480](https://www.cve.org/CVERecord?id=CVE-2021-29480), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2cc5-23r7-vc4v](https://github.com/advisories/GHSA-2cc5-23r7-vc4v), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-29480](https://nvd.nist.gov/vuln/detail/CVE-2021-29480), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29480 · Whole record: https://cve.day/CVE-2021-29480.json · Rebuilt by cve.day 2026-11-25T22:58:02.379Z
