CWE一覧に戻る
CWE-474

一貫性のない実装の関数の使用

Use of Function with Inconsistent Implementations
脆弱性 レビュー中
JA

このコードでは、オペレーティングシステムやバージョン間で実装が一貫していない関数を使用している。

一貫性のない実装を使用すると、プログラマーが想定していた環境と異なる環境下でコードが移植されたり構築されたりしたときに、動作が変わってしまうことがあり、場合によってはセキュリティ上の問題につながることがある。

多くの関数の実装は、プラットフォームによって、時には同じプラットフォームの異なるバージョンによってさえも異なります。実装の違いには次のようなものがあります:

EN

The code uses a function that has inconsistent implementations across operating systems and versions.

The use of inconsistent implementations can cause changes in behavior when the code is ported or built under a different environment than the programmer expects, which can lead to security problems in some cases.

The implementation of many functions varies by platform, and at times, even by different versions of the same platform. Implementation differences can include:

Scope: Other / Impact: Quality Degradation; Varies by Context
Do not accept inconsistent behavior from the API specifications when the deviant behavior increase the risk level.
MITRE公式ページ — CWE-474