Live threats

All CVEs / Random Password Generator Project

CVE-2019-25061Random Password Generator Project Random Password Generator

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
May 18, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-335
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Random Password Generator.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems random_password_generator ≤ 1.0.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-ggfx-h9xj-5v9c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
random_password_generator_projectrandom_password_generator≤ 1.0.0

Official sources

References

Links published by the sources. Open them with care.