CVE-2019-25061
Random Password Generator Project Random Password Generator vulnerability
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 products
Random Password Generator. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Random Password Generator Project Random Password Generator runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb45 · Third Party Advisory
- github.com/bvsatyaram/random_password_generator/pull/1 · Third Party Advisory
- ruby-doc.org/core-3.1.2/Random.html · Third Party Advisory
- stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2019-25061
- cve.org/CVERecord?id=CVE-2019-25061
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.