Security mailing lists by PureSourceCode

CVE-2019-25061

HIGH 7.5CVSS 3.1

Insecure PRNG use in random_password_generator

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.

Published
18 May 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-330CWE-335
Also known as
GHSA-ggfx-h9xj-5v9c
Sources
NVDJSONOSV GHSA-ggfx-h9xj-5v9cJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD random_password_generator_project random_password_generator
cpe:2.3:a:random_password_generator_project:random_password_generator:*:*:*:*:*:ruby:*:*
<= 1.0.0
OSV RubyGems random_password_generator <= 1.0.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 May 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.