{"id":"CVE-2019-25061","sourceIdentifier":"cve@mitre.org","published":"2022-05-18T11:15:10.670","lastModified":"2026-06-17T02:31:34.747","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La gema random_password_generator (también se conoce como RandomPasswordGenerator) versiones hasta 1.0.0, para Ruby usa Kernel#rand para generar contraseñas, lo que, debido a su naturaleza cíclica, puede facilitar la predicción de las mismas"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-335"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:random_password_generator_project:random_password_generator:*:*:*:*:*:ruby:*:*","versionEndIncluding":"1.0.0","matchCriteriaId":"111E3E0A-C35A-4E7A-BF8F-2E4EE25E9B06"}]}]}],"references":[{"url":"https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://github.com/bvsatyaram/random_password_generator/pull/1","source":"cve@mitre.org","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://ruby-doc.org/core-3.1.2/Random.html","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://github.com/bvsatyaram/random_password_generator/pull/1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://ruby-doc.org/core-3.1.2/Random.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}