Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Random Password Generator Project | Random Password Generator | <= 1.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580Third Party Advisory
- https://github.com/bvsatyaram/random_password_generator/pull/1Issue TrackingThird Party Advisory
- https://ruby-doc.org/core-3.1.2/Random.htmlThird Party Advisory
- https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-tExploitThird Party Advisory
- https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580Third Party Advisory
- https://github.com/bvsatyaram/random_password_generator/pull/1Issue TrackingThird Party Advisory
- https://ruby-doc.org/core-3.1.2/Random.htmlThird Party Advisory
- https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-tExploitThird Party Advisory
FAQ
What is CVE-2019-25061?
CVE-2019-25061 is a vulnerability with a CVSS score of 7.5 (HIGH). 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.
How severe is CVE-2019-25061?
CVE-2019-25061 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-25061?
Check the references section above for vendor advisories and patch information. Affected products include: Random Password Generator Project Random Password Generator.