VariantDraft
CWE-333Improper Handling of Insufficient Entropy in TRNG
Category: other
Description
True random number generators (TRNG) generally have a limited source of entropy and therefore can fail or block.
The rate at which true random numbers can be generated is limited. It is important that one uses them only when they are needed for security.
Common consequences· 1
- Availability — DoS: Crash, Exit, or RestartA program may crash or block if it runs out of random numbers.
Potential mitigations· 1
- [Implementation]Rather than failing on a lack of random numbers, it is often preferable to wait for more numbers to be created.
References
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.