{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-16303","id":"CVE-2019-16303","title":"JHipster Kotlin using insecure source of randomness `RandomStringUtils` before v1.2.0","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.","descriptionLong":"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":"2019-09-13T23:43:41.000Z","updated":"2026-10-24T10:47:43.155400564Z","reserved":"2019-09-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"generator-jhipster-kotlin","purl":"pkg:npm/generator-jhipster-kotlin","ranges":["<1.2.0"],"fixed":["1.2.0"],"advisory":"GHSA-j3rh-8vwq-wh84"},{"ecosystem":"npm","name":"generator-jhipster","purl":"pkg:npm/generator-jhipster","ranges":["<6.3.0"],"fixed":["6.3.0"],"advisory":"GHSA-mwp6-j9wf-968c"}],"cwes":["CWE-338"],"aliases":["GHSA-j3rh-8vwq-wh84","GHSA-mwp6-j9wf-968c"],"references":[{"url":"https://github.com/jhipster/generator-jhipster/security/advisories/GHSA-mwp6-j9wf-968c","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/jhipster/generator-jhipster/issues/10401","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/jhipster/generator-jhipster/commit/88448b85fd3e8e49df103f0061359037c2c68ea7","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/jhipster/jhipster-kotlin/issues/183","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://www.jhipster.tech/2019/09/13/jhipster-release-6.3.0.html","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"https://lists.apache.org/thread.html/r6d243e7e3f25daeb242dacf3def411fba32a9388d3ff84918cb28ddd%40%3Cissues.commons.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rc87fa35a48b5d70b06af6fb81785ed82e82686eb83307aae6d250dc9%40%3Cissues.commons.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/rc3f00f5d3d2ec0e2381a3b9096d5f5b4d46ec1587ee7e251a3dbb897%40%3Cissues.commons.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://github.com/jhipster/jhipster-kotlin/security/advisories/GHSA-j3rh-8vwq-wh84","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16303","tags":["advisory"]},{"url":"https://github.com/jhipster/jhipster-kotlin/commit/deec3587ef7721cf5de5b960d43e9b68beff6193","tags":["web"]},{"url":"https://github.com/jhipster/generator-jhipster","tags":["package"]},{"url":"https://lists.apache.org/thread.html/r6d243e7e3f25daeb242dacf3def411fba32a9388d3ff84918cb28ddd@%3Cissues.commons.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rc3f00f5d3d2ec0e2381a3b9096d5f5b4d46ec1587ee7e251a3dbb897@%3Cissues.commons.apache.org%3E","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rc87fa35a48b5d70b06af6fb81785ed82e82686eb83307aae6d250dc9@%3Cissues.commons.apache.org%3E","tags":["web"]},{"url":"https://snyk.io/vuln/SNYK-JS-GENERATORJHIPSTER-466980","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1187","tags":["web"]},{"url":"https://www.npmjs.com/advisories/1188","tags":["web"]},{"url":"https://github.com/advisories/GHSA-j3rh-8vwq-wh84","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mwp6-j9wf-968c","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03673,"epssPercentile":0.89882,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-16303","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-16303","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-16303","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j3rh-8vwq-wh84","ok":true,"note":"GHSA-j3rh-8vwq-wh84"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mwp6-j9wf-968c","ok":true,"note":"GHSA-mwp6-j9wf-968c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-16303","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}