Uncontrolled Recursion |
Weakness ID: 674 (Weakness Base) | Status: Draft |
Description Summary
The product does not properly control the amount of recursion that takes place, which consumes excessive resources, such as allocated memory or the program stack.
Scope | Effect |
---|---|
Availability | Resources including CPU, memory, and stack memory could be rapidly consumed or exhausted, eventually leading to an exit or crash. |
Confidentiality | In some cases, an application's interpreter might kill a process or thread that appears to be consuming too much resources, such as with PHP's memory_limit setting. When the interpreter kills the process/thread, it might report an error containing detailed information such as the application's installation path. |
Reference | Description |
---|---|
CVE-2007-1285 | Deeply nested arrays trigger stack exhaustion. |
CVE-2007-3409 | Self-referencing pointers create infinite loop and resultant stack exhaustion. |
Nature | Type | ID | Name | View(s) this relationship pertains to |
---|---|---|---|---|
ChildOf | Category | 361 | Time and State | Development Concepts (primary)699 |
ChildOf | Weakness Class | 691 | Insufficient Control Flow Management | Research Concepts (primary)1000 |
ChildOf | Category | 730 | OWASP Top Ten 2004 Category A9 - Denial of Service | Weaknesses in OWASP Top Ten (2004) (primary)711 |
Mapped Taxonomy Name | Node ID | Fit | Mapped Node Name |
---|---|---|---|
OWASP Top Ten 2004 | A9 | CWE More Specific | Denial of Service |
Modifications | ||||
---|---|---|---|---|
Modification Date | Modifier | Organization | Source | |
2008-07-01 | Eric Dalci | Cigital | External | |
updated Potential Mitigations, Time of Introduction | ||||
2008-09-08 | CWE Content Team | MITRE | Internal | |
updated Common Consequences, Relationships, Taxonomy Mappings | ||||
2009-03-10 | CWE Content Team | MITRE | Internal | |
updated Related Attack Patterns |