Insecure Randomness Affecting generator-jhipster package, versions <6.3.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
2.04% (90th 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-JS-GENERATORJHIPSTER-466980
  • published14 Sept 2019
  • disclosed13 Sept 2019
  • creditJonathan Leitschuh

Introduced: 13 Sep 2019

CVE-2019-16303  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

Upgrade generator-jhipster to version 6.3.0 or higher.

Overview

generator-jhipster is a development platform to generate, develop and deploy Spring Boot + Angular / React / Vue Web applications and Spring microservices.

Affected versions of this package are vulnerable to Insecure Randomness. Uses an insecure source of randomness to generate all of its random values as it relies upon apache commons lang3 RandomStringUtils. This allows an attacker (if able to obtain their own password reset URL) to compute the value for all other password resets for other accounts, thus allowing privilege escalation or account takeover.

CVSS Scores

version 3.1