BaseDraft
CWE-606Unchecked Input for Loop Condition
Category: other
Description
The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
Common consequences· 1
- Availability — DoS: Resource Consumption (CPU)
Potential mitigations· 2
- [Implementation]Do not use user-controlled data for loop conditions.
- [Implementation]Perform input validation.
References
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.