CVE catalog

CVE-2023-46233

cryptojs: CVE-2023-46233

[CVE catalog]

Severity
Critical · CVSS 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.64% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancryptojsbookworm3.1.2+dfsg-3vulnerable
Ubuntucryptojspro3.1.2+dfsg-3vulnerable
Ubuntucryptojspro3.1.2+dfsg-3ubuntu0.22.04.1~esm1fixed
Ubuntucryptojs20.043.1.2+dfsg-2vulnerable
Ubuntucryptojs20.043.1.2+dfsg-2ubuntu0.20.04.1fixed
Ubuntucryptojspro3.1.2+dfsg-3vulnerable
Ubuntucryptojspro3.1.2+dfsg-3ubuntu0.22.04.1~esm1fixed
Ubuntucryptojs20.043.1.2+dfsg-2vulnerable
Ubuntucryptojs20.043.1.2+dfsg-2ubuntu0.20.04.1fixed
Ubuntucryptojs24.043.1.2+dfsg-3vulnerable
Ubuntucryptojs24.043.1.2+dfsg-4vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancryptojssourcebookworm(unfixed)not yet assignedNot reported[1055525]
Ubuntucryptojsdebpro3.1.2+dfsg-3ubuntu0.22.04.1~esm1Not reportedUSN-6753-1Not reported
Ubuntucryptojsdeb20.043.1.2+dfsg-2ubuntu0.20.04.1Not reportedUSN-6753-1Not reported
Ubuntucryptojsdebpro3.1.2+dfsg-3ubuntu0.22.04.1~esm1Not reportedUBUNTU-CVE-2023-46233Not reported
Ubuntucryptojsdeb20.043.1.2+dfsg-2ubuntu0.20.04.1Not reportedUBUNTU-CVE-2023-46233Not reported

[Debian bug #1055525]

Notes

[bookworm] cryptojs: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References