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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com patch third-party-advisory
- www.jhipster.tech release-notes vendor-advisory
- github.com third-party-advisory vendor-advisory
- snyk.io
- www.npmjs.com
- www.npmjs.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- github.com patch
- github.com vendor-advisory
- [commons-issues] 20200918 [jira] [Created] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG mailing-list
- [commons-issues] 20200921 [jira] [Commented] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG mailing-list
- [commons-issues] 20200919 [jira] [Commented] (LANG-1607) To aid with CVE-2019-16303, consider upgrading RandomStringUtils default RNG mailing-list
- github.com product
- github.com vendor-advisory