{"id":"GHSA-3w3w-pxmm-2w2j","summary":"crypto-js uses insecure random numbers","details":"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.","aliases":["CVE-2020-36732"],"modified":"2026-03-16T21:46:39.151944Z","published":"2023-06-12T03:30:17Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-06-13T12:44:48Z","nvd_published_at":"2023-06-12T02:15:48Z","cwe_ids":["CWE-330","CWE-331"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36732"},{"type":"WEB","url":"https://github.com/brix/crypto-js/issues/254"},{"type":"WEB","url":"https://github.com/brix/crypto-js/issues/256"},{"type":"WEB","url":"https://github.com/brix/crypto-js/pull/257/commits/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b"},{"type":"WEB","url":"https://github.com/brix/crypto-js/commit/b405ff597fb3ac76a7bdfbc72dca10ba1079b1d5"},{"type":"WEB","url":"https://github.com/brix/crypto-js/commit/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b"},{"type":"PACKAGE","url":"https://github.com/brix/crypto-js"},{"type":"WEB","url":"https://github.com/brix/crypto-js/compare/3.2.0...3.2.1"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230706-0003"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472"}],"affected":[{"package":{"name":"crypto-js","ecosystem":"npm","purl":"pkg:npm/crypto-js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.2.0"},{"fixed":"3.2.1"}]}],"versions":["3.2.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-3w3w-pxmm-2w2j/GHSA-3w3w-pxmm-2w2j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}