CVE-2019-25061 Insecure PRNG use in random_password_generator
The Ruby random_password_generator gem uses a predictable random number generator, allowing attackers to predict generated passwords and potentially compromise accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-25061?
CVE-2019-25061 is a high-severity vulnerability in n/a, published on 18 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-335
Which versions are affected by CVE-2019-25061?
2 open source packages ship an affected version, including random_password_generator. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
random_password_generator RubyGems | All versions to 1.0.0 | None |
random_password_generator RubyGems | All versions to 1.0.0 | None |
Products include Random Password Generator Project Random Password Generator.
How do I fix CVE-2019-25061?
No fix has been published for CVE-2019-25061 yet. Limit exposure of the affected software until one is available.
Is CVE-2019-25061 being exploited?
There is no known exploitation of CVE-2019-25061 in the wild and no public exploit code.
Sources
Also known as GHSA-ggfx-h9xj-5v9c.