CVE-2019-25061
HIGHCVSS 7.5/10EPSS 1.70%
Last modified
CVE-2019-25061 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 1.70% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Random Password Generator Project | Random Password Generator | <= 1.0.0 |
References
- https://github.com/bvsatyaram/random_password_generator/pull/1Issue Tracking, Third 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-to-other-methods/42170560Exploit, Third Party Advisory
- https://github.com/bvsatyaram/random_password_generator/pull/1Issue Tracking, Third 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-to-other-methods/42170560Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-25061?
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 a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.70% probability of exploitation in the next 30 days.
How do I fix CVE-2019-25061?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2019-25061?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
