A class generated by the Generator in JHipster before 6.3.0 and JHipster Kotlin through…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | generator-jhipster-kotlin (npm) | before 1.2.0 | 1.2.0 | Patch available | GHSA-j3rh-8vwq-wh84 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- generator-jhipster-kotlin (npm) Vendor— Affected before 1.2.0 Fixed in 1.2.0 Patch available GHSA-j3rh-8vwq-wh84
Remediation
- Fix · GHSA-j3rh-8vwq-wh84 generator-jhipster-kotlin (npm) Fixed in 1.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-16303
- 2026-10-03 Alias added: GHSA-j3rh-8vwq-wh84
References
Exploit 2
Patch 1
Advisory 3
Other 11
- [commons-issues] 20200918 [jira] [Created] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG
- [commons-issues] 20200919 [jira] [Commented] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG
- [commons-issues] 20200921 [jira] [Commented] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG
- https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-j3rh-8vwq-wh84
- https://github.com/jhipster/jhipster-kotlin/commit/deec3587ef7721cf5de5b960d43e9b68beff6193
- https://github.com/jhipster/generator-jhipster
- https://lists.apache.org/thread.html/r6d243e7e3f25daeb242dacf3def411fba32a9388d3ff84918cb28ddd@%3Cissues.commons.apache.org%3E
- https://lists.apache.org/thread.html/rc3f00f5d3d2ec0e2381a3b9096d5f5b4d46ec1587ee7e251a3dbb897@%3Cissues.commons.apache.org%3E
- https://lists.apache.org/thread.html/rc87fa35a48b5d70b06af6fb81785ed82e82686eb83307aae6d250dc9@%3Cissues.commons.apache.org%3E
- https://www.npmjs.com/advisories/1187
- https://www.npmjs.com/advisories/1188
More Jhipster vulnerabilities
- TI-2015-08085 JHipster generator-jhipster before 2.23.0 allows a timing attack against validateToken… CVSS 3.1HIGH 7.5
Sources
- CVE-2019-16303 · CVE Program
- CVE-2019-16303 · NVD
- FIRST EPSS
- GHSA-j3rh-8vwq-wh84 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences