Descrizione
Net::Xero 0.044 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.
Specifically Net::Xero uses the Data::Random library which specifically states that it is "Useful mostly for test programs". Data::Random uses the rand() function.
Tipo di vulnerabilità
CWE-331
Insufficient Entropy
The product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi, Altro |
Aggirare i meccanismi di protezione, Altro |
Come si previene
Sviluppo
Determine the necessary entropy to adequately provide for randomness and predictability. This can be achieved by increasing the number of bits of objects such as keys and seeds.
Tutte le 131 CVE di tipo CWE-331, con andamento e prevenzione