Skip to content
OpenAdvisories
Low · 3.7 CVE-2019-11808 EUVD-2019-0451GHSA-54mg-vgrp-mwx9

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Ratpack

Published May 7, 2019 · Updated Aug 4, 2024 · Assigned by mitre

Description

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

EcosystemPackageAffectedFixedRecord
Maven io.ratpack:ratpack-groovy < 1.6.1 1.6.1 GHSA-54mg-vgrp-mwx9
Maven io.ratpack:ratpack-java < 1.6.1 1.6.1 GHSA-54mg-vgrp-mwx9
Maven io.ratpack:ratpack-session < 1.6.1 1.6.1 GHSA-54mg-vgrp-mwx9

References