GHSA-54mg-vgrp-mwx9
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Ratpack
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | io.ratpack:ratpack-session | < 1.6.1 | 1.6.1 |
| Maven | io.ratpack:ratpack-java | < 1.6.1 | 1.6.1 |
| Maven | io.ratpack:ratpack-groovy | < 1.6.1 | 1.6.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
Ratpack versions before 1.6.1 generate a session ID using a cryptographically weak PRNG in the JDK's ThreadLocalRandom. This means that if an attacker can determine a small window for the server start time and obtain a session ID value, they can theoretically determine the sequence of session IDs.
References
External links from the advisory. They lead to third-party sites.