
CVE catalog
CVE-2023-46233
cryptojs: CVE-2023-46233
- Severity
- Critical · CVSS 9.1
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cryptojs | bookworm | 3.1.2+dfsg-3 | vulnerable |
| Ubuntu | cryptojs | pro | 3.1.2+dfsg-3 | vulnerable |
| Ubuntu | cryptojs | pro | 3.1.2+dfsg-3ubuntu0.22.04.1~esm1 | fixed |
| Ubuntu | cryptojs | 20.04 | 3.1.2+dfsg-2 | vulnerable |
| Ubuntu | cryptojs | 20.04 | 3.1.2+dfsg-2ubuntu0.20.04.1 | fixed |
| Ubuntu | cryptojs | pro | 3.1.2+dfsg-3 | vulnerable |
| Ubuntu | cryptojs | pro | 3.1.2+dfsg-3ubuntu0.22.04.1~esm1 | fixed |
| Ubuntu | cryptojs | 20.04 | 3.1.2+dfsg-2 | vulnerable |
| Ubuntu | cryptojs | 20.04 | 3.1.2+dfsg-2ubuntu0.20.04.1 | fixed |
| Ubuntu | cryptojs | 24.04 | 3.1.2+dfsg-3 | vulnerable |
| Ubuntu | cryptojs | 24.04 | 3.1.2+dfsg-4 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cryptojs | source | bookworm | (unfixed) | not yet assigned | Not reported | [1055525] |
| Ubuntu | cryptojs | deb | pro | 3.1.2+dfsg-3ubuntu0.22.04.1~esm1 | Not reported | USN-6753-1 | Not reported |
| Ubuntu | cryptojs | deb | 20.04 | 3.1.2+dfsg-2ubuntu0.20.04.1 | Not reported | USN-6753-1 | Not reported |
| Ubuntu | cryptojs | deb | pro | 3.1.2+dfsg-3ubuntu0.22.04.1~esm1 | Not reported | UBUNTU-CVE-2023-46233 | Not reported |
| Ubuntu | cryptojs | deb | 20.04 | 3.1.2+dfsg-2ubuntu0.20.04.1 | Not reported | UBUNTU-CVE-2023-46233 | Not reported |
Notes
[bookworm] cryptojs: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_0157.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-46233]
- [https://osv.dev/vulnerability/DLA-3669-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-46233]
- [https://osv.dev/vulnerability/USN-6753-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-46233]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-46233.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0949.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]