1. Archivio CVE
  2. 2025
  3. CVE-2025-2814

CVE-2025-2814

4 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L 4 – Media

Descrizione

Crypt::CBC versions between 1.21 and 3.05 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. This issue affects operating systems where "/dev/urandom'" is unavailable.  In that case, Crypt::CBC will fallback to use the insecure rand() function.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
lds crypt::cbc >= 1.21 <= 3.05 –

Tipo di vulnerabilità

CWE-329 Generation of Predictable IV with CBC Mode

The product generates and uses a predictable initialization Vector (IV) with Cipher Block Chaining (CBC) Mode, which causes algorithms to be susceptible to dictionary attacks when they are encrypted under the same key.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo NIST recommends two methods of generating unpredictable IVs for CBC mode. The first is to generate the IV randomly. The second method is to encrypt a nonce with the same key and cipher to be used to encrypt the plaintext. In this case the nonce must be unique but can be predictable, since the block cipher will act as a pseudo random permutation.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 9 CVE di tipo CWE-329, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org