Umbra Wiki weakness weakness/CWE-331
Back to wiki

CWE-331 — Insufficient Entropy

provenance: imported · CWE: CWE-331

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