Home
» GitHub Advisories
» GHSA-54mg-vgrp-mwx9
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.
Basic information
Type
reviewed
Severity
low
Advisory on GitHub
Open advisory ↗
Repository advisory
—
Source code
Not specified
Published (advisory)
2019-05-14 04:01:37 UTC
Updated
2023-02-01 05:01:57 UTC
GitHub reviewed
2019-05-14 03:48:09 UTC
NVD published
2019-05-07
EPSS Score
Score
Percentile
0.28%
51.37%
CVSS Scores
Base score
Version
Severity
Vector
3.7
3.0
—
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
CWEs
CWE id
Name
CWE-338
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Affected packages (3)
Vulnerable version ranges and first patched releases as published by GitHub.
Ecosystem
Package
Vulnerable range
First patched
Vulnerable functions
maven
io.ratpack:ratpack-session
< 1.6.1
1.6.1
—
maven
io.ratpack:ratpack-java
< 1.6.1
1.6.1
—
maven
io.ratpack:ratpack-groovy
< 1.6.1
1.6.1
—
cvelogic
Threat Intelligence