{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2019-25061","published":"2022-05-18T11:15:10.670000Z","last_modified":"2026-06-17T02:31:34.747000Z","status":"Modified","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-335"],"cpes":[{"criteria":"cpe:2.3:a:random_password_generator_project:random_password_generator:*:*:*:*:*:ruby:*:*","part":"a","vendor":"random_password_generator_project","product":"random_password_generator","version_end_including":"1.0.0"}],"cpes_truncated":false,"vendors":["random_password_generator_project"],"products":["random_password_generator_project/random_password_generator"],"epss":{"score":0.01903,"percentile":0.80312,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-ggfx-h9xj-5v9c","ecosystem":"RubyGems","name":"random_password_generator","purl":"pkg:gem/random_password_generator","ranges":[{"introduced":"0","last_affected":"1.0.0"}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","1.0.0"],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2019-25061/","html_en":"/en/cve/CVE-2019-25061/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-25061","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-25061"},"untrusted":{"vendor_name":"Random Password Generator Project","product_name":"Random Password Generator","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23","tags":["Third Party Advisory"]},{"url":"https://github.com/bvsatyaram/random_password_generator/pull/1","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://ruby-doc.org/core-3.1.2/Random.html","tags":["Third Party Advisory"]},{"url":"https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560","tags":["Exploit","Third Party Advisory"]}]}}