Cryptographically Weak PRNG in generate-password
Priority LOW 38CWE-338Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
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.
Why it matters now
Fix Fixed generate-password (npm): 1.4.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | generate-password (npm) | before 1.4.1 | 1.4.1 | Patch available | GHSA-6qqf-vvcr-7qrv |
- generate-password (npm) Vendor— Affected before 1.4.1 Fixed in 1.4.1 Patch available GHSA-6qqf-vvcr-7qrv
Remediation
- Fix · GHSA-6qqf-vvcr-7qrv generate-password (npm) Fixed in 1.4.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-6qqf-vvcr-7qrv
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences