CWE一覧に戻る
CWE-908

初期化されていないリソースの使用

Use of Uninitialized Resource
脆弱性 作成中
JA

製品が、初期化されていないリソースを使用またはアクセスしている。

リソースが適切に初期化されていない場合、製品が予期せぬ動作をすることがあります。これはクラッシュや無効なメモリ・アクセスにつながる可能性がありますが、その結果はリソースの種類や製品内での使用方法によって異なります。

EN

The product uses or accesses a resource that has not been initialized.

When a resource has not been properly initialized, the product may behave unexpectedly. This may lead to a crash or invalid memory access, but the consequences vary depending on the type of resource and how it is used within the product.

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 required 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 the product with settings that generate warnings about uninitialized variables or data.
MITRE公式ページ — CWE-908