2
References
[REF-959]Object Management Group (OMG). "Automated Source Code Performance Efficiency
Measure (ASCPEM)". 2016 January. < https://www.omg.org/spec/ASCPEM/ >.2023-04-07.
CWE-1047: Modules with Circular Dependencies
Weakness ID : 1047
Structure : Simple
Abstraction : Base
Description
The product contains modules in which one module has references that cycle back to itself, i.e.,
there are circular dependencies.
Extended Description
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.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 1120 Excessive Code Complexity 1960
Relevant to the view "Software Development" (CWE-699)
Nature Type ID Name Page
MemberOf 1226 Complexity Issues 2481
Weakness Ordinalities
Indirect :
Common Consequences
CWE Version 4.14
CWE-1048: Invokable Control Element with Large Number of Outward Calls
CWE-1048: Invokable Control Element with Large Number of Outward Calls