Katalog CWE

CWE-589 · Słabość

Call to Non-ubiquitous API

Abstrakcja
Wariant
Status
Niekompletny
Dodano
15 grudnia 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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.

Skutki

  • Other

    Quality Degradation

Zapobieganie

  • 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.

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Wpis z katalogu CWE 4.20.