Security mailing lists by PureSourceCode

CVE-2020-36732

MEDIUM 5.3CVSS 3.1

crypto-js uses insecure random numbers

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.

Published
12 Jun 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-330CWE-331
Also known as
GHSA-3w3w-pxmm-2w2j
Sources
NVDJSONOSV GHSA-3w3w-pxmm-2w2jJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD crypto-js_project crypto-js
cpe:2.3:a:crypto-js_project:crypto-js:*:*:*:*:*:*:*:*
< 3.2.1 3.2.1
OSV npm crypto-js >= 3.2.0, < 3.2.1 3.2.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 12 Jun 2023)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 12 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.