{"id":"CVE-2020-36732","aliases":["DEBIAN-CVE-2020-36732","EUVD-2023-1673","GHSA-3w3w-pxmm-2w2j"],"status":"published","title":"crypto-js uses insecure random numbers","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01075,"percentile":0.65188,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-330","CWE-331"],"published":"2023-06-12T00:00:00Z","modified":"2026-10-26T12:01:53Z","fixes":[{"ecosystem":"npm","package":"crypto-js","fixed_in":["3.2.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"crypto-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0"},{"last_affected":"3.2.0"},{"fixed":"3.2.1"}]}],"versions":["3.2.0"]},{"source":"osv","ecosystem":"Debian:12","package":"cryptojs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.2+dfsg-3","3.1.2+dfsg-4"]},{"source":"osv","ecosystem":"npm","package":"crypto-js","ranges":[{"type":"SEMVER","events":[{"introduced":"3.2.0"},{"fixed":"3.2.1"}]}],"versions":["3.2.0"]}],"products":[{"vendor":"crypto-js_project","product":"crypto-js"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-CRYPTOJS-548472","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/brix/crypto-js/pull/257/commits/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/brix/crypto-js/issues/254","tags":["x_transferred","Issue Tracking","Vendor Advisory","report","web"]},{"url":"https://github.com/brix/crypto-js/issues/256","tags":["x_transferred","Issue Tracking","Patch","Vendor Advisory","fix","web"]},{"url":"https://github.com/brix/crypto-js/compare/3.2.0...3.2.1","tags":["x_transferred","Release Notes","advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230706-0003/","tags":["x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36732","tags":["advisory"]},{"url":"https://github.com/brix/crypto-js/commit/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20230706-0003","tags":["web"]},{"url":"https://github.com/brix/crypto-js/commit/b405ff597fb3ac76a7bdfbc72dca10ba1079b1d5","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3w3w-pxmm-2w2j"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-36732","tags":["advisory"]},{"url":"https://github.com/brix/crypto-js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-36732","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.","status":"published","published":"2023-06-12T00:00:00Z","modified":"2025-01-06T17:45:13.24Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-331"],"updated_at":"2026-11-02T14:35:55.128961Z"}],"euvd":[{"id":"EUVD-2023-1673","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.","status":"published","published":"2023-06-12T00:00:00Z","modified":"2025-01-06T17:45:13Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T00:04:25.578405Z"}],"ghsa":[{"id":"GHSA-3w3w-pxmm-2w2j","title":"crypto-js uses insecure random numbers","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.","status":"published","published":"2023-06-12T03:30:17Z","modified":"2026-03-16T21:32:01Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-330","CWE-331"],"updated_at":"2026-11-02T14:39:36.642723Z"}],"nvd":[{"id":"CVE-2020-36732","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.","status":"published","published":"2023-06-12T02:15:48.347Z","modified":"2026-06-17T03:16:05.083Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-330","CWE-331"],"updated_at":"2026-11-02T14:06:47.910346Z"}],"osv":[{"id":"CVE-2020-36732","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.","status":"published","published":"2023-06-12T02:15:48.347Z","modified":"2026-10-20T10:47:52.354543583Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:16.936975Z"},{"id":"DEBIAN-CVE-2020-36732","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.","status":"published","published":"2023-06-12T02:15:48.347Z","modified":"2026-10-26T12:01:53.066688168Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:34.019707Z"},{"id":"GHSA-3w3w-pxmm-2w2j","title":"crypto-js uses insecure random numbers","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.","status":"published","published":"2023-06-12T03:30:17Z","modified":"2026-03-16T21:46:39.151944Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-330","CWE-331"],"updated_at":"2026-11-02T15:46:36.092962Z"}]}}
