CWE一覧に戻る
CWE-674

制御されない再帰

Uncontrolled Recursion
脆弱性 レビュー中
JA

本製品は、再帰処理の量を適切に制御していないため、割り当てられたメモリやプログラム・スタックなどのリソースを過剰に消費する。

EN

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Scope: Availability / Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)
Scope: Confidentiality / Impact: Read Application Data
Ensure an end condition will be reached under all logic conditions. The end condition may include testing against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.
Increase the stack size.
MITRE公式ページ — CWE-674