{"id":"CVE-2023-46233","published":"2023-10-25T20:49:31Z","modified":"2026-06-23T17:19:09Z","title":"crypto-js PBKDF2 1,000 times weaker than specified in 1993 and 1.3M times weaker than current standard","vendor":"brix","product":"crypto-js","tier":"tail","description":{"text":"crypto-js is a JavaScript library of crypto standards. Prior to version 4.2.0, crypto-js PBKDF2 is 1,000 times weaker than originally specified in 1993, and at least 1,300,000 times weaker than current industry standard. This is because it both defaults to SHA1, a cryptographic hash algorithm considered insecure since at least 2005, and defaults to one single iteration, a 'strength' or 'difficulty' value specified at 1,000 when specified in 1993. PBKDF2 relies on iteration count as a countermeasure to preimage and collision attacks. If used to protect passwords, the impact is high. If used to generate signatures, the impact is high. Version 4.2.0 contains a patch for this issue. As a workaround, configure crypto-js to use SHA256 with at least 250,000 iterations.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0064,"percentile":0.51605,"provenance":"source"},"cwes":[{"id":"CWE-328","name":"Use of Weak Hash"},{"id":"CWE-916","name":"Use of Password Hash With Insufficient Computational Effort"}],"references":[{"url":"https://github.com/brix/crypto-js/security/advisories/GHSA-xwcq-pm8m-c4vf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/brix/crypto-js/commit/421dd538b2d34e7c24a5b72cc64dc2b9167db40a","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00025.html","tags":[]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":10.32},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"brix","affectedVersions":[{"vendor":"brix","product":"crypto-js","versions":["< 4.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-06-03T15:51:03.332284Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"crypto-js","vulnerableRanges":["<4.2.0"],"patched":["4.2.0"],"from":["GHSA-xwcq-pm8m-c4vf"],"provenance":"source"}],"summary":{"text":"The brix crypto-js JavaScript library, prior to version 4.2.0, has a PBKDF2 implementation that defaults to the insecure SHA1 hash and a single iteration, making it far weaker than specified. An attacker with network access can exploit this without authentication, user interaction, or special configuration to compromise data protected by it, such as passwords or generated signatures.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:52:31Z"},"euvd":{"id":"EUVD-2023-2840","exploited":false,"provenance":"source"}}