1. Archivio CVE
  2. 2024
  3. CVE-2024-21530

CVE-2024-21530

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

Descrizione

Versions of the package cocoon before 0.4.0 are vulnerable to Reusing a Nonce, Key Pair in Encryption when the encrypt, wrap, and dump functions are sequentially called. An attacker can generate the same ciphertext by creating a new encrypted message with the same cocoon object. **Note:** The issue does NOT affect objects created with Cocoon::new which utilizes ThreadRng.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– cocoon < 0.4.0 –

Tipo di vulnerabilità

CWE-323 Reusing a Nonce, Key Pair in Encryption

Nonces should be used for the present occasion and only once.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Sviluppo Refuse to reuse nonce values.
Sviluppo Use techniques such as requiring incrementing, time based and/or challenge response to assure uniqueness of nonces.

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

Tutte le 34 CVE di tipo CWE-323, con andamento e prevenzione

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