 
    
结构: Simple
Abstraction: Class
状态: Draft
被利用可能性: unkown
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.
Language: {'cwe_Class': 'Language-Independent', 'cwe_Prevalence': 'Undetermined'}
| 范围 | 影响 | 注释 | 
|---|---|---|
| Availability | ['DoS: Resource Consumption (CPU)', 'DoS: Resource Consumption (Memory)'] | Resources including CPU, memory, and stack memory could be rapidly consumed or exhausted, eventually leading to an exit or crash. | 
| Confidentiality | Read Application Data | 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. | 
策略:
Limit the number of recursive calls to a reasonable number.
| 标识 | 说明 | 链接 | 
|---|---|---|
| CVE-2007-1285 | Deeply nested arrays trigger stack exhaustion. | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1285 | 
| CVE-2007-3409 | Self-referencing pointers create infinite loop and resultant stack exhaustion. | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3409 | 
| 映射的分类名 | ImNode ID | Fit | Mapped Node Name | 
|---|---|---|---|
| OWASP Top Ten 2004 | A9 | CWE More Specific | Denial of Service | 
| Software Fault Patterns | SFP13 | Unrestricted Consumption | |
| OMG ASCRM | ASCRM-CWE-674 |