GHSA-mwp6-j9wf-968c: Critical severity vulnerability that affects generator-jhipster
9.8
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
9/13/2019
Updated
1/9/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
generator-jhipster | npm | < 6.3.0 | 6.3.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is due to the use of a weak PRNG in generating random strings. The function RandomUtil.generateRandomAlphanumeric
is identified as vulnerable based on its use of RandomStringUtils.randomAlphanumeric
. The patch involves switching to a secure PRNG like SecureRandom
.