Skip to content

Cryptographically Weak PRNG in generate-password

Moderate severity GitHub Reviewed Published May 23, 2019 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm generate-password (npm)

Affected versions

< 1.4.1

Patched versions

1.4.1

Description

Affected versions of generate-password generate random values that are biased towards certain characters depending on the chosen character sets. This may result in guessable passwords.

Recommendation

Update to version 1.4.1 or later.

References

Reviewed May 23, 2019
Published to the GitHub Advisory Database May 23, 2019
Last updated Jan 9, 2023

Severity

Moderate

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-6qqf-vvcr-7qrv

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.