CVEfocus › CVE database › CVE-2023-46233

CVE-2023-46233crypto-js PBKDF2 1,000 times weaker than specified in 1993 and 1.3M times weaker than…

CVSS 9.1 CriticalEPSS 0.6% (higher than 46% of CVEs)Published 2023-10-25Updated 2026-06-23Assigner: GitHub_M

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.

CWE-328CWE-916

What to do

Fixed builds are available from Red Hat, Ubuntu, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

42Fixed
4Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04cryptojsNot affected
vulnerable_code_not_present
Ubuntu 22.04cryptojsFix pending3.1.2+dfsg-3ubuntu0.22.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-46233
Ubuntu 20.04cryptojsFixed3.1.2+dfsg-2ubuntu0.20.04.1UBUNTU-CVE-2023-46233
Ubuntu 18.04cryptojsFix pending3.1.2+dfsg-2ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-46233
Ubuntu 16.04cryptojsFix pending3.1.2+dfsg-2ubuntu0.16.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2023-46233
Debian 12cryptojsFix pendingDEBIAN-CVE-2023-46233
Red Hat Enterprise Linux 9aspnetcore-runtime-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9aspnetcore-runtime-7.0Fixed0:7.0.16-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0805
Red Hat Enterprise Linux 9dotnet-apphost-pack-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-apphost-pack-7.0Fixed0:7.0.16-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-hostfxr-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-hostfxr-7.0Fixed0:7.0.16-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-runtime-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-runtime-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0805
Red Hat Enterprise Linux 9dotnet-sdk-6.0Fixed0:6.0.126-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-sdk-6.0-source-built-artifactsFixed0:6.0.126-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-sdk-7.0Fixed0:7.0.116-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet-sdk-7.0-source-built-artifactsFixed0:7.0.115-1.el9_3RHSA-2024:0805
Red Hat Enterprise Linux 9dotnet-targeting-pack-6.0Fixed0:6.0.26-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-targeting-pack-7.0Fixed0:7.0.15-1.el9_3RHSA-2024:0805
Red Hat Enterprise Linux 9dotnet-templates-6.0Fixed0:6.0.126-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet-templates-7.0Fixed0:7.0.116-1.el9_3RHSA-2024:0151
Red Hat Enterprise Linux 9dotnet6.0Fixed0:6.0.126-1.el9_3RHSA-2024:0156
Red Hat Enterprise Linux 9dotnet7.0Fixed0:7.0.115-1.el9_3RHSA-2024:0805
Red Hat Enterprise Linux 8aspnetcore-runtime-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8aspnetcore-runtime-7.0Fixed0:7.0.16-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-7.0Fixed0:7.0.16-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-apphost-pack-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-apphost-pack-7.0Fixed0:7.0.16-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-hostfxr-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-hostfxr-7.0Fixed0:7.0.16-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-runtime-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-runtime-7.0Fixed0:7.0.16-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-sdk-6.0Fixed0:6.0.126-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-sdk-6.0-source-built-artifactsFixed0:6.0.126-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-sdk-7.0Fixed0:7.0.116-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-sdk-7.0-source-built-artifactsFixed0:7.0.115-1.el8_9RHSA-2024:0806
Red Hat Enterprise Linux 8dotnet-targeting-pack-6.0Fixed0:6.0.26-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-targeting-pack-7.0Fixed0:7.0.16-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet-templates-6.0Fixed0:6.0.126-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet-templates-7.0Fixed0:7.0.116-1.el8_9RHSA-2024:0157
Red Hat Enterprise Linux 8dotnet6.0Fixed0:6.0.126-1.el8_9RHSA-2024:0158
Red Hat Enterprise Linux 8dotnet7.0Fixed0:7.0.115-1.el8_9RHSA-2024:0806
npm librarycrypto-jsFixed4.2.0GHSA-xwcq-pm8m-c4vf

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.