CWE-331: Insufficient Entropy
low-riskThe product uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others.
Abstraction: Base
Common Consequences
Access Control
→
Bypass Protection Mechanism
Detection Methods
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Real-World Examples (10)
| CVE | CVSS | EPSS | KEV |
|---|---|---|---|
| CVE-2008-1447 | 6.8 | 86.7% | — |
| CVE-2018-15812 | 7.5 | 78.2% | — |
| CVE-2018-18326 | 7.5 | 76.5% | — |
| CVE-2015-3405 | 7.5 | 16.6% | — |
| CVE-2017-13992 | 8.1 | 8.3% | — |
| CVE-2017-13992 | 8.1 | 8.3% | — |
| CVE-2008-2108 | 9.8 | 5.6% | — |
| CVE-2023-38357 | 5.3 | 3.4% | — |
| CVE-2001-0950 | 7.5 | 1.6% | — |
| CVE-2019-10064 | 7.5 | 1.4% | — |
4
/ 100
low-risk
Active Threat
3/50 · Minimal
Exploit Availability
1/50 · Minimal