NetSight
medium5.3

CVE-2020-36732

crypto-js uses insecure random numbers

Impact

The crypto-js package 3.2.0 for Node.js generates random numbers by concatenating the string "0." with an integer, which makes the output more predictable than necessary.

Affected packages

EcosystemPackageAffectedFixed in
npmcrypto-js= 3.2.03.2.1

Affected products

VendorProductAffected versions
Crypto-Js ProjectCrypto-Js
before 3.2.1

Weakness classification

References