Every CVE Search/ Get API key

CVE-2019-25061

Insecure PRNG use in random_password_generator

7.5 High

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.90%Up 1.0 points since May 18, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2019-25061
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-335
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-25061
Updated
2026-11-02
EUVDEUVD-2022-3952 No score

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.

Record
EUVD-2022-3952
Updated
2026-11-03
GitHub AdvisoriesGHSA-ggfx-h9xj-5v9c 7.5

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.

Record
GHSA-ggfx-h9xj-5v9c
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-330, CWE-335
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2019-25061
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-ggfx-h9xj-5v9c 7.5

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.

Record
GHSA-ggfx-h9xj-5v9c
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-330, CWE-335
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
random_password_generator
RubyGems
through 1.0.0 None known
random_password_generator
RubyGems
through 1.0.0, plus listed versions
0.0.10.0.20.0.30.0.40.0.5
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-25061 is a high vulnerability (CVSS 7.5) in Random Password Generator Project Password Generator, published May 18, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.90%, the 79th percentile. No source names a fixed version.

References

MoveEnter Open