CWE-684

Incorrect Provision of Specified Functionality
AI Translation Available

The code does not function according to its published specifications, potentially leading to incorrect usage.

Status
draft
Abstraction
class

When providing functionality to an external party, it is important that the product behaves in accordance with the details specified. When requirements of nuances are not documented, the functionality may produce unintended behaviors for the caller, possibly leading to an exploitable state.

Common Consequences

other
Impacts
quality degradation

Potential Mitigations

Phases:
implementation
Descriptions:
• Ensure that your code strictly conforms to specifications.