CVE-2020-36732
Crypto-js Project Crypto-js vulnerability
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.
Affected products
Crypto-js. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Crypto-js Project Crypto-js runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/brix/crypto-js/issues/254 · Vendor Advisory
- github.com/brix/crypto-js/issues/256 · Patch
- github.com/brix/crypto-js/pull/257/commits/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b · Patch
- security.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472 · Third Party Advisory
- github.com/brix/crypto-js/compare/3.2.0...3.2.1
- security.netapp.com/advisory/ntap-20230706-0003/
- nvd.nist.gov/vuln/detail/CVE-2020-36732
- github.com/brix/crypto-js/commit/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b
- nvd.nist.gov/vuln/detail/CVE-2020-36732
- cve.org/CVERecord?id=CVE-2020-36732
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.