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.osv.dev/v1/vulns/GHSA-ggfx-h9xj-5v9c
Aliases
Published
2022-05-19T00:00:40Z
Modified
2023-11-08T04:01:32.858863Z
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",
    "github_reviewed_at": "2022-05-25T20:15:34Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-330",
        "CWE-335"
    ]
}
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