Insecure Randomness Affecting generator-jhipster-kotlin package, versions <1.2.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
1.7% (88th 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-GENERATORJHIPSTERKOTLIN-466981
  • 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-kotlin to version 1.2.0 or higher.

Overview

generator-jhipster-kotlin is a generator that adds Kotlin to the JHipster application.

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