CVE-2019-25061
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/05/2022
Last modified:
26/05/2022
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.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:random_password_generator_project:random_password_generator:*:*:*:*:*:ruby:*:* | 1.0.0 (including) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/bvsatyaram/random_password_generator/blob/2855e8d7d8803dbb580ddd6cf13846394eb4530e/lib/random_password_generator.rb#L23
- https://github.com/bvsatyaram/random_password_generator/pull/1
- https://ruby-doc.org/core-3.1.2/Random.html
- https://stackoverflow.com/questions/42170239/security-of-rand-in-ruby-compared-to-other-methods/42170560



