Descrizione
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery.
Crypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it.
The first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical "r".
Keys used to sign more than once with an affected version should be considered compromised.
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
| Ambito | Impatto |
| 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.
Tutte le 34 CVE di tipo CWE-323, con andamento e prevenzione