GitHub Advisoryadvisory · RubyGems

GHSA-ggfx-h9xj-5v9c Insecure PRNG use in random_password_generator

HIGH Published 2022-05-19 Modified 2022-05-31 Official page ↗
Aliases
CVE-2019-25061
Ecosystem
RubyGems
Packages
random_password_generator
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-330, CWE-335
Reviewed
2022-05-25

Affected packages

• RubyGems random_password_generator: <= 1.0.0 (no fix yet)

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

Alias · CVE (1)

  • CVE-2019-25061 The random_password_generator (aka RandomPasswordGenerator) gem through 1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due… vulnerability

Weakness · CWE (2)

  • CWE-330 Use of Insufficiently Random Values weakness
  • CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) weakness

References