Skip to content

CVE-2019-16303 JHipster Kotlin using insecure source of randomness `RandomStringUtils` before v1.2.0

CriticalCVSS 9.8 EPSS 3.7%
Published
Updated
Exploit status
No public exploit known

Description

A class generated by the Generator in JHipster before 6.3.0 and JHipster Kotlin through 1.1.0 produces code that uses an insecure source of randomness (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.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
jhipster < 6.3.0 6.3.0 Fixed
jhipster kotlin <= 1.1.0 after 1.1.0 Fixed
npm generator-jhipster(npm) < 6.3.0 6.3.0 Fixed
npm generator-jhipster-kotlin(npm) < 1.2.0 1.2.0 Fixed

Affected products

ProductAffected versionsFixed in
npm generator-jhipster-kotlin(npm) < 1.2.0 1.2.0
jhipster < 6.3.0 6.3.0
jhipster kotlin <= 1.1.0 No fix listed
npm generator-jhipster(npm) < 6.3.0 6.3.0

References