GitHub Advisory Database
GHSA-54mg-vgrp-mwx9
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Ratpack
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | io.ratpack:ratpack-session | All versions before 1.6.1 (fixed in 1.6.1) |
| Maven | io.ratpack:ratpack-java | All versions before 1.6.1 (fixed in 1.6.1) |
| Maven | io.ratpack:ratpack-groovy | All versions before 1.6.1 (fixed in 1.6.1) |