{"id":"CVE-2020-36732","aliases":["GHSA-3w3w-pxmm-2w2j"],"url":"https://o3.security/vulnerability/CVE-2020-36732","summary":"crypto-js uses insecure random numbers","details":"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.","published":"2023-06-12T02:15:48.347Z","modified":"2026-07-08T20:29:25.369132Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"crypto-js","fixedVersion":"3.2.1"}],"fix":{"url":"https://github.com/brix/crypto-js/pull/257/commits/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b","label":"brix/crypto-js#257"},"references":[{"type":"ADVISORY","url":"https://github.com/brix/crypto-js/compare/3.2.0...3.2.1"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230706-0003/"},{"type":"ADVISORY","url":"https://security.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472"},{"type":"REPORT","url":"https://github.com/brix/crypto-js/issues/254"},{"type":"FIX","url":"https://github.com/brix/crypto-js/issues/256"},{"type":"FIX","url":"https://github.com/brix/crypto-js/pull/257/commits/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T20:29:25.369132Z"}}