The crypto-js package before 3.2.1 for Node.js generates random numbers by concatenating…
Priority LOW 32CWE-331Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
The crypto-js package before 3.2.1 for Node.js generates random numbers by concatenating the string "0." with an integer, which makes the output more predictable than necessary.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01075 65th percentileScored 2026-11-07
Fix Fixed crypto-js (npm): 3.2.1
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | crypto-js (npm) | 3.2.0 to before 3.2.1 | 3.2.1 | Patch available | GHSA-3w3w-pxmm-2w2j |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- crypto-js (npm) Vendor— Affected 3.2.0 to before 3.2.1 Fixed in 3.2.1 Patch available GHSA-3w3w-pxmm-2w2j
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:crypto-js_project:crypto-js:*:*:*:*:*:*:*:* | before 3.2.1 | Vulnerable | Crypto-js Project |
- cpe:2.3:a:crypto-js_project:crypto-js:*:*:*:*:*:*:*:* Versions before 3.2.1 Vulnerable ·Crypto-js Project
Remediation
- Fix · GHSA-3w3w-pxmm-2w2j crypto-js (npm) Fixed in 3.2.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2020-36732
- 2026-10-03 Alias added: GHSA-3w3w-pxmm-2w2j
References
Patch 2
Advisory 2
Other 6
- https://github.com/brix/crypto-js/compare/3.2.0...3.2.1
- https://security.netapp.com/advisory/ntap-20230706-0003/
- https://github.com/brix/crypto-js/commit/b405ff597fb3ac76a7bdfbc72dca10ba1079b1d5
- https://github.com/brix/crypto-js/commit/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b
- https://github.com/brix/crypto-js
- https://security.netapp.com/advisory/ntap-20230706-0003
More Crypto-js Project Crypto-js vulnerabilities
- TI-2023-24860 crypto-js PBKDF2 1,000 times weaker than specified in 1993 and 1.3M times weaker than current standard CVSS 3.1CRITICAL 9.1
Sources
- CVE-2020-36732 · CVE Program
- CVE-2020-36732 · NVD
- FIRST EPSS
- GHSA-3w3w-pxmm-2w2j · GitHub Advisory Database · CC BY 4.0
- CVE-2020-36732 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences