Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Ratpack
Summary
CVE-2019-11808: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Ratpack. Affects io.ratpack:ratpack-session versions < 1.6.1. Fixed in 1.6.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
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.
How To Fix
Minimum fixed version
1.6.1
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
References
Related vulnerabilities
Recent vulnerabilities recorded for io.ratpack:ratpack-session.