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

 

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

Published: May 7, 2019 / Updated: July 17, 2020


Vulnerability identifier: #VU31081
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-11808
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Ratpack
Affected software:
Ratpack

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

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 mitigate CVE-2019-11808

Install update from vendor's website.

Sources