CWE一覧に戻る
CWE-909

リソースの初期化の欠落

Missing Initialization of Resource
脆弱性 作成中
JA

製品が重要なリソースを初期化していない。

多くのリソースは、適切に使用する前に初期化が必要です。リソースが初期化されていない場合、予測できないデータや期限切れのデータが含まれていたり、無効なデフォルト値に初期化されている可能性があります。リソースが特定のプロパティや値を持つことが期待されている場合、これはセキュリティに影響する可能性があります。

EN

The product does not initialize a critical resource.

Many resources require initialization before they can be properly used. If a resource is not initialized, it could contain unpredictable or expired data, or it could be initialized to defaults that are invalid. This can have security implications when the resource is expected to have certain properties or values.

Scope: Confidentiality / Impact: Read Memory; Read Application Data
Scope: Availability / Impact: DoS: Crash, Exit, or Restart
Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all specified steps.
Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Avoid race conditions (CWE-362) during initialization routines.
Run or compile your product with settings that generate warnings about uninitialized variables or data.
MITRE公式ページ — CWE-909