CWEweakness

CWE-1076 Insufficient Adherence to Expected Conventions

Official page ↗
Abstraction
Class
Structure
Simple
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

The product's architecture, source code, design, documentation, or other artifact does not follow required conventions.

Common consequences

• Other: Reduce Maintainability — This issue makes it more difficult to maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Related

Child of · CWE (1)

  • CWE-710 Improper Adherence to Coding Standards weakness

Referenced by CVE · weakness (2)

  • CVE-2023-32642 Insufficient adherence to expected conventions for some Intel(R) PROSet/Wireless and Intel(R) Killer(TM) Wi-Fi software before version… vulnerability
  • CVE-2021-1268 A vulnerability in the IPv6 protocol handling of the management interfaces of Cisco IOS XR Software could allow an unauthenticated,… vulnerability

Referenced by CWE · child of (12)

  • CWE-1045 Parent Class with a Virtual Destructor and a Child Class without a Virtual Destructor weakness
  • CWE-1070 Serializable Data Element Containing non-Serializable Item Elements weakness
  • CWE-1078 Inappropriate Source Code Style or Formatting weakness
  • CWE-1079 Parent Class without Virtual Destructor Method weakness
  • CWE-1082 Class Instance Self Destruction Control Element weakness
  • CWE-1087 Class with Virtual Method without a Virtual Destructor weakness
  • CWE-1091 Use of Object without Invoking Destructor Method weakness
  • CWE-1097 Persistent Storable Data Element without Associated Comparison Control Element weakness
  • CWE-1098 Data Element containing Pointer Item without Proper Copy Control Element weakness
  • CWE-1108 Excessive Reliance on Global Variables weakness
  • CWE-586 Explicit Call to Finalize() weakness
  • CWE-594 J2EE Framework: Saving Unserializable Objects to Disk weakness