COMMON WEAKNESS ENUMERATIONIncomplete
CWE-407
Inefficient Algorithmic Complexity
Abstraction
Class
Structure
Simple
Likelihood of Exploit
Low
Understand the problem
What is the problem?
Terminology
Alternate terms and usages
Quadratic Complexity
Root cause
How and when does the problem arise?
Lifecycle phase
Architecture and Design
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
DoS: Resource Consumption (CPU)DoS: Resource Consumption (Memory)DoS: Resource Consumption (Other)
Defence
How is it prevented and fixed?
- Follow secure coding guidelines for input handling and boundary checking.
- Enforce strict security reviews and automated static analysis (SAST) checks.