CWE一覧に戻る
CWE-589

非ユビキタスAPIへの呼び出し

Call to Non-ubiquitous API
脆弱性 作成中
JA

対象プラットフォームのすべてのバージョンに存在しない API 関数を使用している。これは、移植性の問題や、サービス拒否やその他の結果を可能にする不整合を引き起こす可能性があります。

OSがサポートするセキュリティ機能を提供する関数の中には、一般的に使用されているOSのすべてのバージョンで利用できないものもあります。同様に、関数はセキュリティ上の理由で非推奨になったり、廃止されたりすることが多いので、使用すべきではありません。

EN

The product uses an API function that does not exist on all versions of the target platform. This could cause portability problems or inconsistencies that allow denial of service or other consequences.

Some functions that offer security features supported by the OS are not available on all versions of the OS in common use. Likewise, functions are often deprecated or made obsolete for security reasons and should not be used.

Scope: Other / Impact: Quality Degradation
Always test your code on any platform on which it is targeted to run on.
Test your code on the newest and oldest platform on which it is targeted to run on.
Develop a system to test for API functions that are not portable.
MITRE公式ページ — CWE-589