Advisory

GHSA-3w3w-pxmm-2w2j

Also known as: CVE-2020-36732

Summary

crypto-js uses insecure random numbers

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-06-12 03:30 UTC
Modified
2026-03-16 21:46 UTC

Affected packages and fixes

crypto-js

npm · All systems

Affected

  • introduced 3.2.0, fixed 3.2.1 (semver)

Fixed versions

3.2.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences