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.
Remediation
References
https://github.com/brix/crypto-js/compare/3.2.0...3.2.1
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://security.netapp.com/advisory/ntap-20230706-0003/
https://security.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472
Related Vulnerabilities
CVE-2023-45311 Vulnerability in npm package fsevents
CVE-2023-22457 Vulnerability in maven package org.xwiki.contrib:application-ckeditor-plugins
CVE-2023-48240 Vulnerability in maven package org.xwiki.platform:xwiki-platform-diff-xml
CVE-2020-28052 Vulnerability in maven package org.bouncycastle:bcprov-jdk15to18
CVE-2022-34182 Vulnerability in maven package org.jenkins-ci.plugins:nested-view