Rust : Weak seed of random number generator
Classification
Overview
A pseudorandom number generator (PRNG) is created with the integer seed specified in the code, which leads to the generation of a predictable sequence.
The work of many cryptographic algorithms is based on the use of cryptographically stable PRNGs. Some algorithms take as an additional argument the seed value and for each value of this parameter generate a predictable sequence. In this case, the security of the system is based on the assumption that the seed values will be unpredictable.
Sensitive Data Exposure vulnerabilities take the third place in the “OWASP Top 10 2017” web-application vulnerabilities ranking.
DerScanner Severity Score
Check your Rust code for this vulnerability, free
Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.
Try it on your code, free
By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.
