Common Weakness Enumeration

A Community-Developed List of Software Weakness Types

CWE/SANS Top 25 Most Dangerous Software Errors
Home > CWE List > CWE- Individual Dictionary Definition (2.11)  

CWE-684: Incorrect Provision of Specified Functionality

Weakness ID: 684
Abstraction: Base
Status: Draft
Presentation Filter:
+ 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. When requirements of nuances are not documented, the functionality may produce unintended behaviors for the caller, possibly leading to an exploitable state.

+ Time of Introduction
  • Implementation
+ Common Consequences

Technical Impact: Quality degradation

+ Potential Mitigations

Phase: Implementation

Ensure that your code strictly conforms to specifications.

+ Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ChildOfWeakness ClassWeakness Class227Improper Fulfillment of 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
ChildOfCategoryCategory1001SFP Secondary Cluster: Use of an Improper API
Software Fault Pattern (SFP) Clusters (primary)888
ParentOfWeakness BaseWeakness Base392Missing Report of Error Condition
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
ParentOfWeakness BaseWeakness Base451User Interface (UI) Misrepresentation of Critical Information
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
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
2010-12-13CWE Content TeamMITREInternal
updated Potential_Mitigations
2011-03-29CWE Content TeamMITREInternal
updated Description, Name
2011-06-01CWE Content TeamMITREInternal
updated Common_Consequences
2011-06-27CWE Content TeamMITREInternal
updated Common_Consequences
2012-05-11CWE Content TeamMITREInternal
updated Relationships
2014-02-18CWE Content TeamMITREInternal
updated Relationships
2014-07-30CWE Content TeamMITREInternal
updated Relationships
Previous Entry Names
Change DatePrevious Entry Name
2011-03-29Failure to Provide Specified Functionality

More information is available — Please select a different filter.
Page Last Updated: May 05, 2017