GitHub Advisoryadvisory · Maven

GHSA-54mg-vgrp-mwx9 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Ratpack

LOW Published 2019-05-14 Modified 2021-08-04 Official page ↗
Aliases
CVE-2019-11808
Ecosystem
Maven
Packages
io.ratpack:ratpack-session, io.ratpack:ratpack-java, io.ratpack:ratpack-groovy
Severity
Low
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-338
Reviewed
2019-05-14

Affected packages

• Maven io.ratpack:ratpack-session: < 1.6.1 → fixed in 1.6.1 • Maven io.ratpack:ratpack-java: < 1.6.1 → fixed in 1.6.1 • Maven io.ratpack:ratpack-groovy: < 1.6.1 → fixed in 1.6.1

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.

Related

Alias · CVE (1)

  • CVE-2019-11808 Ratpack versions before 1.6.1 generate a session ID using a cryptographically weak PRNG in the JDK's ThreadLocalRandom. vulnerability

Weakness · CWE (1)

  • CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) weakness

References