Descrizione
lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for PyCrypto's ElGamal implementation.
Tipo di vulnerabilità
CWE-326
Cifratura di forza inadeguata
Il prodotto conserva o trasmette dati sensibili con uno schema di cifratura corretto in teoria, ma non abbastanza robusto per il livello di protezione richiesto.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi, Riservatezza |
Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione
Use an encryption scheme that is currently considered to be strong by experts in the field.
Tutte le 463 CVE di tipo CWE-326, con andamento e prevenzione