Descrizione
Programs/P73_SimplePythonEncryption.py illustrates a simple Python encryption example using the RSA Algorithm. In versions prior to commit 6ce60b1, an attacker may be able to decrypt the data using brute force attacks and because of this the whole application can be impacted. This issue has been patched in commit 6ce60b1. A workaround involves increasing the key size, for RSA or DSA this is at least 2048 bits, for ECC this is at least 256 bits.
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 465 CVE di tipo CWE-326, con andamento e prevenzione