CVE-2019-16303
CRITICAL 9.8CVSS 3.1JHipster Kotlin using insecure source of randomness `RandomStringUtils` before v1.2.0
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.
- Published
- 14 Sep 2019
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-338
- Also known as
- GHSA-j3rh-8vwq-wh84GHSA-mwp6-j9wf-968c
- Sources
- NVDJSONOSV GHSA-j3rh-8vwq-wh84JSONOSV GHSA-mwp6-j9wf-968cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jhipster | jhipstercpe:2.3:a:jhipster:jhipster:*:*:*:*:*:*:*:* |
< 6.3.0 | 6.3.0 |
| NVD | jhipster | jhipster_kotlincpe:2.3:a:jhipster:jhipster_kotlin:*:*:*:*:*:*:*:* |
<= 1.1.0 | |
| OSV | npm | generator-jhipster-kotlin | < 1.2.0 | 1.2.0 |
| OSV | npm | generator-jhipster | < 6.3.0 | 6.3.0 |
References
- https://github.com/jhipster/generator-jhipster/commit/88448b85fd3e8e49df103f0061359037c2c68ea7 · Patch, Third Party Advisory, WEB
- https://github.com/jhipster/generator-jhipster/issues/10401 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/jhipster/generator-jhipster/security/advisories/GHSA-mwp6-j9wf-968c · Third Party Advisory, WEB
- https://github.com/jhipster/jhipster-kotlin/issues/183 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/r6d243e7e3f25daeb242dacf3def411fba32a9388d3ff84918cb28ddd%40%3Cissues.commons.apache.org%3E
- https://lists.apache.org/thread.html/rc3f00f5d3d2ec0e2381a3b9096d5f5b4d46ec1587ee7e251a3dbb897%40%3Cissues.commons.apache.org%3E
- https://lists.apache.org/thread.html/rc87fa35a48b5d70b06af6fb81785ed82e82686eb83307aae6d250dc9%40%3Cissues.commons.apache.org%3E
- https://www.jhipster.tech/2019/09/13/jhipster-release-6.3.0.html · Release Notes, Vendor Advisory, WEB
- https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-j3rh-8vwq-wh84 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-16303 · ADVISORY
- https://github.com/jhipster/jhipster-kotlin/commit/deec3587ef7721cf5de5b960d43e9b68beff6193 · WEB
- https://github.com/jhipster/generator-jhipster · PACKAGE
- https://lists.apache.org/thread.html/r6d243e7e3f25daeb242dacf3def411fba32a9388d3ff84918cb28ddd@%3Cissues.commons.apache.org%3E · WEB
- https://lists.apache.org/thread.html/rc3f00f5d3d2ec0e2381a3b9096d5f5b4d46ec1587ee7e251a3dbb897@%3Cissues.commons.apache.org%3E · WEB
- https://lists.apache.org/thread.html/rc87fa35a48b5d70b06af6fb81785ed82e82686eb83307aae6d250dc9@%3Cissues.commons.apache.org%3E · WEB
- https://snyk.io/vuln/SNYK-JS-GENERATORJHIPSTER-466980 · WEB
- https://www.npmjs.com/advisories/1187 · WEB
- https://www.npmjs.com/advisories/1188 · WEB
- https://github.com/advisories/GHSA-j3rh-8vwq-wh84 · ADVISORY
- https://github.com/advisories/GHSA-mwp6-j9wf-968c · ADVISORY
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 14 Sep 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Sep 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jun 2020)