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.
CVSS Details
- CVSS 3.1 Base Score: 9.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | No solution exists | Dec 4, 2023 | Oct 25, 2023 |
| Redhat_linux | — | Upgrade dotnet-templates-6.0Upgrade dotnet7.0-debugsourceUpgrade dotnet-sdk-6.0-source-built-artifactsUpgrade dotnet-hostfxr-7.0Upgrade dotnet-runtime-7.0Upgrade dotnet-apphost-pack-6.0Upgrade dotnet-targeting-pack-7.0Upgrade dotnet-hostfxr-7.0-debuginfoUpgrade dotnet-runtime-6.0-debuginfoUpgrade dotnet-sdk-7.0-debuginfoUpgrade dotnet-hostfxr-6.0Upgrade aspnetcore-targeting-pack-7.0Upgrade dotnet-sdk-7.0-source-built-artifactsUpgrade dotnet-sdk-6.0Upgrade dotnet-sdk-7.0Upgrade dotnet-sdk-6.0-debuginfoUpgrade aspnetcore-targeting-pack-6.0Upgrade aspnetcore-runtime-6.0Upgrade dotnet6.0-debugsourceUpgrade dotnet6.0-debuginfoUpgrade dotnet-runtime-7.0-debuginfoUpgrade aspnetcore-runtime-7.0Upgrade dotnet7.0-debuginfoUpgrade dotnet-apphost-pack-7.0-debuginfoUpgrade dotnet-runtime-6.0Upgrade dotnet-apphost-pack-7.0Upgrade dotnet-hostfxr-6.0-debuginfoUpgrade dotnet-templates-7.0Upgrade dotnet-targeting-pack-6.0Upgrade dotnet-apphost-pack-6.0-debuginfo | Nov 14, 2025 | Oct 25, 2023 |
| Ubuntu | — | Upgrade libjs-cryptojs (Ubuntu Pro)Upgrade libjs-cryptojs | Apr 26, 2024 | Oct 25, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub