CVE-2023-46233
crypto-js: PBKDF2 1,000 times weaker than specified in 1993 and 1.3M times weaker than current standard
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA. Más baja según Red Hat (alta), Ubuntu (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| npm::GitHub Security Advisory npm | crypto-js | 4.2.0 |
| chainguard | arangodb-3.11 | 3.11.14.4-r13 |
| debian 10 | cryptojs | 3.1.2+dfsg-2+deb10u1 |
| debian 11 | cryptojs | sin corrección indicada |
| debian 12 | cryptojs | sin corrección indicada |
| echo | cryptojs | sin corrección indicada |
| minimos | trigger-dev | 4.6.0-r0 |
| rapidfort debian 12 | cryptojs | sin corrección indicada |
| rapidfort debian 13 | cryptojs | sin corrección indicada |
| rapidfort rocky 9 | dotnet6.0, dotnet7.0 | 0:6.0.126-1.el9_3 y 1 más |
| Red Hat | rh-dotnet60-aspnetcore-runtime-6.0, rh-dotnet60-aspnetcore-targeting-pack-6.0, rh-dotnet60-dotnet y 9 más | sin corrección indicada |
| ubuntu 16.04-ESM | cryptojs | 3.1.2+dfsg-2ubuntu0.16.04.1~esm1 |
Mostrar las 29 entradas de 17 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| npm::GitHub Security Advisory npm | crypto-js | 4.2.0 |
| chainguard | arangodb-3.11 | 3.11.14.4-r13 |
| debian 10 | cryptojs | 3.1.2+dfsg-2+deb10u1 |
| debian 11 | cryptojs | sin corrección indicada |
| debian 12 | cryptojs | sin corrección indicada |
| echo | cryptojs | sin corrección indicada |
| minimos | trigger-dev | 4.6.0-r0 |
| rapidfort debian 12 | cryptojs | sin corrección indicada |
| rapidfort debian 13 | cryptojs | sin corrección indicada |
| rapidfort rocky 9 | dotnet6.0 | 0:6.0.126-1.el9_3 |
| rapidfort rocky 9 | dotnet7.0 | 0:7.0.116-1.el9_3 |
| Red Hat | rh-dotnet60-aspnetcore-runtime-6.0 | sin corrección indicada |
| Red Hat | rh-dotnet60-aspnetcore-targeting-pack-6.0 | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet-apphost-pack-6.0 | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet-host | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet-hostfxr-6.0 | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet-runtime-6.0 | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet-sdk-6.0 | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet-sdk-6.0-source-built-artifacts | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet-targeting-pack-6.0 | sin corrección indicada |
| Red Hat | rh-dotnet60-dotnet-templates-6.0 | sin corrección indicada |
| Red Hat | rh-dotnet60-netstandard-targeting-pack-2.1 | sin corrección indicada |
| ubuntu 16.04-ESM | cryptojs | 3.1.2+dfsg-2ubuntu0.16.04.1~esm1 |
| ubuntu 18.04-ESM | cryptojs | 3.1.2+dfsg-2ubuntu0.18.04.1~esm1 |
| ubuntu 20.04 | cryptojs | 3.1.2+dfsg-2ubuntu0.20.04.1 |
| ubuntu 20.04-ESM | cryptojs | 3.1.2+dfsg-2ubuntu0.20.04.1 |
| ubuntu 22.04 | cryptojs | sin corrección indicada |
| ubuntu 24.04 | cryptojs | sin corrección indicada |
Referencias
- https://access.redhat.com/security/cve/CVE-2023-46233
- https://github.com/brix/crypto-js
- https://github.com/brix/crypto-js/commit/421dd538b2d34e7c24a5b72cc64dc2b9167db40a
- https://github.com/brix/crypto-js/security/advisories/GHSA-xwcq-pm8m-c4vf
- https://lists.debian.org/debian-lts-announce/2023/11/msg00025.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-46233
- https://ubuntu.com/security/notices/USN-6753-1
- https://www.cve.org/CVERecord?id=CVE-2023-46233