Descrizione
Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions.
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