CWE•Base•Draft•4 recent CVEs
CWE-334Small Space of Random Values
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,OtherAn attacker could easily guess the values used. This could lead to unauthorized access to a system if the seed is used for authentication and authorization.
Potential mitigations
- Architecture and Design,RequirementsUse 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").