CWE-331 — Insufficient Entropy
CWE-331: Insufficient Entropy
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Draft |
| Likelihood of exploit | — |
Description
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.
Common consequences
- Access Control, Other: Bypass Protection Mechanism, Other
Mitigations
Implementation — 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.
References
- CWE page: https://cwe.mitre.org/data/definitions/331.html
- CWE list: https://cwe.mitre.org/data/index.html