Skip to content
OpenAdvisories

Weakness (CWE)

CWE-477: Use of Obsolete Function

Base Draft

The code uses deprecated or obsolete functions, which suggests that the code has not been actively reviewed or maintained.

More detail

As programming languages evolve, functions occasionally become obsolete due to:

- Advances in the language

- Improved understanding of how operations should be performed effectively and securely

- Changes in the conventions that govern certain operations

Functions that are removed are usually replaced by newer counterparts that perform the same task in some different and hopefully improved way.

How to prevent it (2 mitigations)
  1. Implementation

    Refer to the documentation for the obsolete function in order to determine why it is deprecated or obsolete and to learn about alternative ways to achieve the same functionality.

  2. Requirements

    Consider seriously the security implications of using an obsolete function. Consider using alternate functions.

Source: MITRE CWE-477

0 results · Clear filters · Feed

Nothing found.