CWE-684: Incorrect Provision of Specified Functionality

What is CWE-684?

CWE-684 is Incorrect Provision of Specified Functionality. The flaw arises when the code does not function according to its published specifications, potentially leading to incorrect usage. The database currently holds 12 vulnerabilities mapped to CWE-684 and none of them are in the CISA Known Exploited Vulnerabilities catalog.

OWASP Top 10 Rank-
Related CVES (365 days)12
AbstractionClass
Likelihood of exploit-

Vulnerabilities mapped to CWE-684

12 vulnerabilities200% increase year over year

No data

No vulnerability data in CISA KEV for CWE-684

Official definition

ByMitre CWE

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

Characteristics

Modes of introduction

  • Implementation

Common consequences

ImpactScopeExplanation
Quality Degradation, Unexpected State, Varies by ContextOtherWhen 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.

Risk mitigations

  1. ImplementationEnsure that your code strictly conforms to specifications.

Representative vulnerabilities

Sources (2)

CWE™ Program, operated by The MITRE Corporation. Copyright © 2006–2026, The MITRE Corporation. The MITRE Corporation hereby grants you a non-exclusive, royalty-free license to use CWE for research, development, and commercial purposes. CWE Terms of Use.

Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.