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-2w2jJSON: 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:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36732
- https://github.com/brix/crypto-js/issues/254
- https://github.com/brix/crypto-js/issues/256
- https://github.com/brix/crypto-js/pull/257/commits/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b
- https://github.com/brix/crypto-js/compare/3.2.0...3.2.1
- https://security.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472
- https://github.com/brix/crypto-js/commit/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b
- https://security.netapp.com/advisory/ntap-20230706-0003/
- https://github.com/advisories/GHSA-3w3w-pxmm-2w2j
Blast Radius: 27.6
Affected Packages
npm:crypto-js
Dependent packages: 11,874Dependent 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