low3.7
CVE-2019-11808
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Ratpack
Impact
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 | 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 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ratpack Project | Ratpack | before 1.6.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ratpack/ratpack/commit/f2b63eb82dd71194319fd3945f5edf29b8f3a42d
- https://github.com/ratpack/ratpack/issues/1448
- https://github.com/ratpack/ratpack/releases/tag/v1.6.1
- https://github.com/advisories/GHSA-54mg-vgrp-mwx9
- https://nvd.nist.gov/vuln/detail/CVE-2019-11808