Failure to Provide Specified Functionality
Weakness ID: 684 (Weakness Base)Status: Draft
+ Description

Description Summary

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

Extended Description

When providing functionality to an external party, it is important that the software behaves in accordance with the details specified. Failing to document requirements or nuances can result in unintended behaviors for the caller, possibly leading to an exploitable state.

+ Time of Introduction
  • Implementation
+ Potential Mitigations

Phase: Implementation

thorougly test the functionality implementation.

+ Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ChildOfWeakness ClassWeakness Class227Failure to Fulfill API Contract ('API Abuse')
Development Concepts (primary)699
Research Concepts (primary)1000
ChildOfCategoryCategory735CERT C Secure Coding Section 01 - Preprocessor (PRE)
Weaknesses Addressed by the CERT C Secure Coding Standard (primary)734
ParentOfWeakness BaseWeakness Base392Failure to Report Error in Status Code
Research Concepts (primary)1000
ParentOfWeakness BaseWeakness Base393Return of Wrong Status Code
Research Concepts (primary)1000
ParentOfWeakness BaseWeakness Base440Expected Behavior Violation
Research Concepts (primary)1000
ParentOfWeakness BaseWeakness Base446UI Discrepancy for Security Feature
Research Concepts (primary)1000
+ Taxonomy Mappings
Mapped Taxonomy NameNode IDFitMapped Node Name
CERT C Secure CodingPRE09-CDo not replace secure functions with less secure functions
+ Content History
Modifications
Modification DateModifierOrganizationSource
2008-07-01Eric DalciCigitalExternal
updated Potential Mitigations, Time of Introduction
2008-09-08CWE Content TeamMITREInternal
updated Description, Relationships
2008-11-24CWE Content TeamMITREInternal
updated Relationships, Taxonomy Mappings