{"id":"CVE-2019-25061","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-25061","generatedAt":"2026-10-28T04:17:52.236Z","title":"The random_password_generator (aka RandomPasswordGenerator) gem through 1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic nature, can facilitate password prediction.","description":"The random_password_generator (aka RandomPasswordGenerator) gem through 1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic nature, can facilitate password prediction.","published":"2022-05-18T11:15:11.000Z","lastModified":"2026-06-17T02:31:35.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"cwe":["CWE-335"],"affected":["random password generator project/random password generator"],"epss":{"score":0.01903,"percentile":0.7959,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.90%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/bvsatyaram/random_password_generator/pull/1","tags":["Issue Tracking","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://ruby-doc.org/core-3.1.2/Random.html","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/bvsatyaram/random_password_generator/pull/1","tags":["Issue Tracking","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://ruby-doc.org/core-3.1.2/Random.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-25061","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}