RubySec

Providing security resources for the Ruby community

CVE-2019-25061 (random_password_generator): Insecure PRNG use in random_password_generator

ADVISORIES

GEM

random_password_generator

SEVERITY

CVSS v3.x: 7.5 (High)

PATCHED VERSIONS

None.

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.

RELATED