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.
Potential Impact
Other
Reduce Maintainability
Related Weaknesses
Taxonomy Mappings
- OMG ASCMM: ASCMM-MNT-7 —
- OMG ASCRM: ASCRM-RLB-13 —
Frequently Asked Questions
What is CWE-1047?
CWE-1047 (Modules with Circular Dependencies) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. The product contains modules in which one module has references that cycle back to itself, i.e., there are circular dependencies.
How can CWE-1047 be exploited?
Attackers can exploit CWE-1047 (Modules with Circular Dependencies) to reduce maintainability. This weakness is typically introduced during the Implementation, Architecture and Design phase of software development.
How do I prevent CWE-1047?
Follow secure coding practices, conduct code reviews, and use automated security testing tools (SAST/DAST) to detect this weakness early in the development lifecycle.
What is the severity of CWE-1047?
CWE-1047 is classified as a Base-level weakness (Medium abstraction). Its actual severity depends on the specific context and how the weakness manifests in your application.