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

Low 3.7 Published Updated

Attackers can predict session IDs due to weak random number generation, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-11808?

CVE-2019-11808 is a low-severity vulnerability in n/a, published on 7 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-338

Which versions are affected by CVE-2019-11808?

6 open source packages ship an affected version, including io.ratpack:ratpack-groovy, io.ratpack:ratpack-java and io.ratpack:ratpack-session. It affects 1 product.

PackageAffectedFixed in
io.ratpack:ratpack-groovy MavenAll versions1.6.1
io.ratpack:ratpack-groovy MavenAll versions1.6.1
io.ratpack:ratpack-java MavenAll versions1.6.1
io.ratpack:ratpack-java MavenAll versions1.6.1
io.ratpack:ratpack-session MavenAll versions1.6.1
io.ratpack:ratpack-session MavenAll versions1.6.1

Products include Ratpack Project Ratpack.

How do I fix CVE-2019-11808?

Upgrade io.ratpack:ratpack-groovy to 1.6.1 or later.

Is CVE-2019-11808 being exploited?

There is no known exploitation of CVE-2019-11808 in the wild and no public exploit code.

Sources

Also known as GHSA-54mg-vgrp-mwx9.

Is CVE-2019-11808 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free