{"id":"CVE-2023-46133","published":"2023-10-25T20:48:14Z","modified":"2024-09-10T14:08:02Z","title":"crypto-es PBKDF2 1,000 times weaker than specified in 1993 and 1.3M times weaker than current standard","vendor":"entronad","product":"crypto-es","tier":"tail","description":{"text":"CryptoES is a cryptography algorithms library compatible with ES6 and TypeScript. Prior to version 2.1.0, CryptoES 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 2.1.0 contains a patch for this issue. As a workaround, configure CryptoES 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.00541,"percentile":0.4638,"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/entronad/crypto-es/security/advisories/GHSA-mpj8-q39x-wq5h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/entronad/crypto-es/commit/d506677fae3d03a454b37ad126e0c119d416b757","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":9.28},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"entronad","affectedVersions":[{"vendor":"entronad","product":"crypto-es","versions":["< 2.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-09-10T13:59:03.749598Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"crypto-es","vulnerableRanges":["<2.1.0"],"patched":["2.1.0"],"from":["GHSA-mpj8-q39x-wq5h"],"provenance":"source"}],"summary":{"text":"The crypto-es library by entronad, a cryptography algorithms library compatible with ES6 and TypeScript, has a flaw in its PBKDF2 implementation in versions before 2.1.0: it defaults to the SHA1 hash and to a single iteration, making it far weaker than the original 1993 specification and current standards. An attacker with network access can exploit this without authentication, user interaction, or special configuration, since the weakness applies to the default settings, to compromise values protected by it, such as passwords or generated signatures.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:49Z"},"euvd":{"id":"EUVD-2023-2777","exploited":false,"provenance":"source"}}