Umbra Wiki weakness weakness/CWE-334
Back to wiki

CWE-334 — Small Space of Random Values

provenance: imported · CWE: CWE-334

CWE-334: Small Space of Random Values

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Draft
Likelihood of exploit

Description

The number of possible random values is smaller than needed by the product, making it more susceptible to brute force attacks.

Common consequences

  • Access Control, Other: Bypass Protection Mechanism, Other

Mitigations

Architecture and Design — Use products or modules that conform to FIPS 140-2 [REF-267] to avoid obvious entropy problems. Consult FIPS 140-2 Annex C ("Approved Random Number Generators").

References

  • CWE page: https://cwe.mitre.org/data/definitions/334.html
  • CWE list: https://cwe.mitre.org/data/index.html