CWE Database
/

CWE-477

Back to CWE list

CWE-477

Use of Obsolete Function

Base
Draft

Description

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

{"xhtml:p":["As programming languages evolve, functions occasionally become obsolete due to:","Functions that are removed are usually replaced by newer counterparts that perform the same task in some different and hopefully improved way."],"xhtml:ul":[{"xhtml:li":["Advances in the language","Improved understanding of how operations should be performed effectively and securely","Changes in the conventions that govern certain operations"]}]}

Common Consequences

Scope

Other

Impact

Quality Degradation

Potential Mitigations

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.

Requirements

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

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now