Insecure PRNG use in random_password_generator
High severity
GitHub Reviewed
Published
May 19, 2022
to the GitHub Advisory Database
•
Updated May 4, 2023
Description
Published by the National Vulnerability Database
May 18, 2022
Published to the GitHub Advisory Database
May 19, 2022
Reviewed
May 25, 2022
Last updated
May 4, 2023
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.
References