CWE-606

Unchecked Input for Loop Condition

Medium

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.

Potential Impact

How to Fix

Implementation

Do not use user-controlled data for loop conditions.

Implementation

Perform input validation.

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-606 vulnerabilities in your codebase.

Get Security Assessment