Insecure Randomness Affecting io.ratpack:ratpack-session package, versions [,1.6.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-IORATPACK-174598
  • published7 May 2019
  • disclosed7 May 2019
  • creditUnknown

Introduced: 7 May 2019

CVE-2019-11808  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

Upgrade io.ratpack:ratpack-session to version 1.6.1 or higher.

Overview

io.ratpack:ratpack-session is a that allows supports for HTTP sessions within Ratpack applications.

Affected versions of this package are vulnerable to Insecure Randomness. Session IDs are generated using a weak PRNG within the ThreadLocalRandom class. An attacker could abuse this vulnerability to determine a small window for the server start time and obtain a session ID value. This vulnerability could be abused to theoretically determine the sequence of session IDs.

CVSS Scores

version 3.1