CWE一覧に戻る
CWE-588

非構造体ポインタの子へのアクセスの試み

Attempt to Access Child of a Non-structure Pointer
脆弱性 作成中
JA

非構造体タイプを構造体タイプにキャストしてフィールドにアクセスすると、メモリ・アクセス・エラーやデータ破損につながる可能性がある。

EN

Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption.

Scope: Integrity / Impact: Modify Memory
Scope: Availability / Impact: DoS: Crash, Exit, or Restart
The choice could be made to use a language that is not susceptible to these issues.
Review of type casting operations can identify locations where incompatible types are cast.
MITRE公式ページ — CWE-588