GHSA-ggfx-h9xj-5v9c

Suggest an improvement
Source
https://github.com/advisories/GHSA-ggfx-h9xj-5v9c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-ggfx-h9xj-5v9c/GHSA-ggfx-h9xj-5v9c.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-ggfx-h9xj-5v9c
Aliases
Published
2022-05-19T00:00:40Z
Modified
2023-11-01T04:50:54.838073Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Insecure PRNG use in random_password_generator
Details

The randompasswordgenerator (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.

Database specific
{
    "nvd_published_at": "2022-05-18T11:15:00Z",
    "cwe_ids": [
        "CWE-330",
        "CWE-335"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-05-25T20:15:34Z"
}
References

Affected packages

RubyGems / random_password_generator

Package

Name
random_password_generator
Purl
pkg:gem/random_password_generator

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.0

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.0.4
0.0.5

1.*

1.0.0