logo
Home/CWEs/CWE-1047/

CWE-1047 - Modules with Circular Dependencies

  • Abstraction:Base
  • Structure:Simple
  • Status:Incomplete
  • Release Date:2019-01-03
  • Latest Modification Date:2024-02-29

Weakness Name

Modules with Circular Dependencies

Description

The product contains modules in which one module has references that cycle back to itself, i.e., there are circular dependencies.

As an example, with Java, this weakness might indicate cycles between packages. This issue makes it more difficult to maintain the product due to insufficient modularity, 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. This issue can prevent the product from running reliably. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.

Common Consequences

Scope: Other

Impact: Reduce Reliability

Related Weaknesses

CWE-1120Excessive Code Complexity