CWE一覧に戻る
CWE-1063

静的コード・ブロック内でのクラス・インスタンスの作成

Creation of Class Instance within a Static Code Block
脆弱性 作成中
JA

静的コード・ブロックはクラスのインスタンスを作成する。

このパターンは、格納可能なデータ要素やメンバ・データ要素が、staticと宣言されたコード・ブロックの値で初期化される状況を特定する。

EN

A static code block creates an instance of a class.

This pattern identifies situations where a storable data element or member data element is initialized with a value in a block of code which is declared as static.

Scope: Other / Impact: Reduce Performance
MITRE公式ページ — CWE-1063