{"cve":"CVE-2019-25061","nvd":{"published":"2022-05-18T11:15:10.670","modified":"2026-06-17T02:31:34.747","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-335"],"references":["https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23","https://github.com/bvsatyaram/random_password_generator/pull/1","https://ruby-doc.org/core-3.1.2/Random.html","https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560","https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23"],"products":["random_password_generator_project:random_password_generator"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2019-25061","score":0.01903,"percentile":0.79701,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-ggfx-h9xj-5v9c","url":"https://osv.dev/vulnerability/GHSA-ggfx-h9xj-5v9c","summary":"Insecure PRNG use in random_password_generator","modified":"2023-11-08T04:01:32.858863Z","packages":[{"ecosystem":"RubyGems","name":"random_password_generator","purl":"pkg:gem/random_password_generator","ranges":["<=1.0.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}