GHSA-3w3w-pxmm-2w2jMediumCVSS 5.3
crypto-js uses insecure random numbers
🔗 CVE IDs covered (1)
📋 Description
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.
🎯 Affected products1
- npm/crypto-js:= 3.2.0
🔗 References (10)
- 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/brix/crypto-js/commit/b405ff597fb3ac76a7bdfbc72dca10ba1079b1d5
- https://github.com/advisories/GHSA-3w3w-pxmm-2w2j