Skip to content
OpenAdvisories
Medium · 5.3 CVE-2020-36732 EUVD-2023-1673GHSA-3w3w-pxmm-2w2j

crypto-js uses insecure random numbers

Published Jun 12, 2023 · Updated Jan 6, 2025 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 cryptojs No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm crypto-js >= 3.2.0, < 3.2.1 3.2.1 GHSA-3w3w-pxmm-2w2j

Advisories 3

References