VariantIncomplete

CWE-589Call to Non-ubiquitous API

Category: other

Description

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.

Common consequences· 1

  • Other — Quality Degradation

Potential mitigations· 3

  • [Implementation]Always test your code on any platform on which it is targeted to run on.
  • [Testing]Test your code on the newest and oldest platform on which it is targeted to run on.
  • [Testing]Develop a system to test for API functions that are not portable.

Related CAPEC attack patterns· 1

CAPEC-96

References

  1. https://cwe.mitre.org/data/definitions/589.html

Exploits (incoming)1

TypeTargetConfidenceTier
AttackPatternBlock Access to Librariescapec-96100%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Incorrect Use of Privileged APIs
CWE
Use of Potentially Dangerous Function
CWE
Use of Function with Inconsistent Implementations
CWE
Exposed Dangerous Method or Function
CWE
Use of Low-Level Functionality
CWE
Incorrect Provision of Specified Functionality
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.