Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS0zdzN3LXB4bW0tMncyas4AAzxu

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.

Permalink: https://github.com/advisories/GHSA-3w3w-pxmm-2w2j
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zdzN3LXB4bW0tMncyas4AAzxu
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 11 months ago
Updated: 6 months ago


CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Identifiers: GHSA-3w3w-pxmm-2w2j, CVE-2020-36732
References: Repository: https://github.com/brix/crypto-js
Blast Radius: 27.6

Affected Packages

npm:crypto-js
Dependent packages: 11,874
Dependent repositories: 163,892
Downloads: 28,480,419 last month
Affected Version Ranges: < 3.2.1
Fixed in: 3.2.1
All affected versions: 3.1.2, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.8, 3.2.0
All unaffected versions: 3.2.1, 3.3.0, 4.0.0, 4.1.0, 4.1.1, 4.2.0