{"id":"CVE-2019-11808","published":"2019-05-07T06:53:16Z","modified":"2024-08-04T23:03:32Z","title":"Ratpack versions before 1.6.1 generate a session ID using a cryptographically weak PRNG in the JDK's ThreadLocalRandom","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01315,"percentile":0.71463,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/ratpack/ratpack/releases/tag/v1.6.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/ratpack/ratpack/commit/f2b63eb82dd71194319fd3945f5edf29b8f3a42d","tags":["x_refsource_MISC"]},{"url":"https://github.com/ratpack/ratpack/issues/1448","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":14.29}]},"affected":[{"ecosystem":"Maven","package":"io.ratpack:ratpack-session","vulnerableRanges":["<1.6.1"],"patched":["1.6.1"],"from":["GHSA-54mg-vgrp-mwx9"],"provenance":"source"},{"ecosystem":"Maven","package":"io.ratpack:ratpack-java","vulnerableRanges":["<1.6.1"],"patched":["1.6.1"],"from":["GHSA-54mg-vgrp-mwx9"],"provenance":"source"},{"ecosystem":"Maven","package":"io.ratpack:ratpack-groovy","vulnerableRanges":["<1.6.1"],"patched":["1.6.1"],"from":["GHSA-54mg-vgrp-mwx9"],"provenance":"source"}],"summary":{"text":"The flaw is in Ratpack, in its session ID generation: versions before 1.6.1 create session IDs using ThreadLocalRandom from the JDK, which is not cryptographically secure. An attacker who can narrow down the server start time to a small window and observe one session ID could in theory predict the sequence of other session IDs the server issues.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:58Z"},"euvd":{"id":"EUVD-2019-0451","exploited":false,"provenance":"source"}}