CWE-589: Call to Non-ubiquitous API
The product uses an API function that does not exist on all versions of the target platform.
Last updated
Overview
CWE-589 (Call to Non-ubiquitous API) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Common consequences
What can happen when CWE-589 is exploited.
Quality Degradation, Reduce Maintainability
Affects: Other
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. This could cause portability problems or inconsistencies that allow denial of service or other consequences.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-589, grouped by where in the lifecycle they apply.