{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-36732","id":"CVE-2020-36732","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.","descriptionLong":"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-12T00:00:00.000Z","updated":"2026-10-20T10:47:52.354543583Z","reserved":"2023-06-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"medium","source":"NVD"},"metrics":[{"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","rating":"medium","source":"NVD"},{"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","rating":"medium","source":"CISA-ADP"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"crypto-js","purl":"pkg:npm/crypto-js","ranges":[">=3.2.0 <3.2.1"],"fixed":["3.2.1"],"advisory":"GHSA-3w3w-pxmm-2w2j"}],"cwes":["CWE-331","CWE-330"],"aliases":["GHSA-3w3w-pxmm-2w2j"],"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/b405ff597fb3ac76a7bdfbc72dca10ba1079b1d5","tags":["web"]},{"url":"https://github.com/brix/crypto-js/commit/e4ac157d8b75b962d6538fc0b996e5d4d5a9466b","tags":["web"]},{"url":"https://github.com/brix/crypto-js","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20230706-0003","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01075,"epssPercentile":0.65629,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-36732","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36732","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-36732","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3w3w-pxmm-2w2j","ok":true,"note":"GHSA-3w3w-pxmm-2w2j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-36732","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}