CWE一覧に戻る
CWE-468

誤ったポインタのスケーリング

Incorrect Pointer Scaling
脆弱性 作成中
JA

CやC++では、数学演算が暗黙的にスケーリングされるときのセマンティクスにより、誤って間違ったメモリを参照してしまうことがよくある。

EN

In C and C++, one may often accidentally refer to the wrong memory due to the semantics of when math operations are implicitly scaled.

Scope: Confidentiality, Integrity / Impact: Read Memory; Modify Memory
Use a platform with high-level memory abstractions.
Always use array indexing instead of direct pointer manipulation.
Use technologies for preventing buffer overflows.
MITRE公式ページ — CWE-468