CVE-2020-36732Crypto-js Project Crypto-js
Medium 5.3 No auth needed
Follow: this CVE · Crypto-js Project · Crypto-js Project Crypto-js We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- No
- Published
- Jun 12, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Crypto-js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | crypto-js |
≥ 3.2.0 < 3.2.1 |
3.2.1 |
npm install crypto-js@3.2.1 |
Per OSV / GitHub Advisories (GHSA-3w3w-pxmm-2w2j). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| crypto-js_project | crypto-js | < 3.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Issue Tracking Vendor Advisory
- github.com Issue Tracking Patch Vendor Advisory
- github.com Patch
- security.netapp.com
- security.snyk.io Third Party Advisory