Live threats

All CVEs / Crypto-js Project

CVE-2020-36732Crypto-js Project Crypto-js

Medium 5.3 No auth needed

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
Weakness (CWE)
CWE-330, CWE-331
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Crypto-js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
crypto-js_projectcrypto-js< 3.2.1

Official sources

References

Links published by the sources. Open them with care.