CWE一覧に戻る
CWE-1108

グローバル変数への過度の依存

Excessive Reliance on Global Variables
脆弱性 作成中
JA

コードの構造上、さまざまな箇所でグローバル変数の使用や設定に頼りすぎている。
に頼りすぎている。
関連する情報を、より狭い、よりローカルな
コンテキストに保存していない。

EN

The code is structured in a way that relies too much on using
or setting global variables throughout various points in the code, instead of
preserving the associated information in a narrower, more local
context.

Scope: Other / Impact: Reduce Maintainability; Increase Analytical Complexity
MITRE公式ページ — CWE-1108