PT-2023-29917 · Pypi+5 · Crypto-Js+5

Zemnmez

·

Publicado

2023-10-25

·

Atualizado

2026-06-04

·

CVE-2023-46233

CVSS v3.1

9.1

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions crypto-js versions prior to 4.2.0
Description The crypto-js library has a weakened PBKDF2 configuration, which is 1,000 times weaker than originally specified in 1993 and at least 1,300,000 times weaker than the current industry standard. This is due to the default use of the insecure SHA1 hashing algorithm and a single iteration. The impact is high if used to protect passwords or generate signatures. The library has 10,642 public users, and the number of transient dependents is likely several orders of magnitude higher. A rough GitHub search shows 432 files using PBKDF2 in crypto-js without specifying any number of iterations.
Recommendations For versions prior to 4.2.0, configure crypto-js to use SHA256 with at least 250,000 iterations as a workaround. Update to version 4.2.0, which contains a patch for this issue.

Exploit

Correção

Use of a Broken Cryptographic Algorithm

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CESA-2024_0157
CESA-2024_0158
CESA-2024_0806
CVE-2023-46233
DLA-3669-1
GHSA-XWCQ-PM8M-C4VF
RHSA-2024:0151
RHSA-2024:0156
RHSA-2024:0157
RHSA-2024:0158
RHSA-2024:0805
RHSA-2024:0806
RHSA-2024_0151
RHSA-2024_0156
RHSA-2024_0157
RHSA-2024_0158
RHSA-2024_0805
RHSA-2024_0806
USN-6753-1

Produtos afetados

Centos
Debian
Linuxmint
Red Hat
Ubuntu
Crypto-Js