CWE-1047: Modules with Circular Dependencies
The product contains modules in which one module has references that cycle back to itself, i.e., there are circular dependencies.
Last updated
Overview
As an example, with Java, this weakness might indicate cycles between packages.
Real-world CVEs
2 recorded CVEs are caused by CWE-1047 (Modules with Circular Dependencies). The highest-severity and most recent are shown first.
Common consequences
What can happen when CWE-1047 is exploited.
Reduce Maintainability
Affects: Other
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 can also prevent the product from running reliably. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to detect it
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.)
Effectiveness: High
Terminology & mappings
Mapped taxonomies
- OMG ASCMM (ASCMM-MNT-7)
- OMG ASCRM (ASCRM-RLB-13)
Frequently asked questions
Common questions about CWE-1047.
- What is CWE-1047?
- The product contains modules in which one module has references that cycle back to itself, i.e., there are circular dependencies.
- What CVEs are caused by CWE-1047?
- 2 recorded CVEs are attributed to CWE-1047, including CVE-2022-48658 and CVE-2023-5236.
- How is CWE-1047 detected?
- 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.)
- What are the consequences of CWE-1047?
- Exploiting CWE-1047 can lead to: Reduce Maintainability.
- Is CWE-1047 actively exploited?
- 2 recorded CVEs are caused by CWE-1047; none are currently in CISA's KEV catalog of actively exploited flaws.
Sources
References
- MITRE CWE definition (CWE-1047) (opens in a new tab)
- CWE-1047 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.21). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-1047 CVEs
Get an alert when a new CWE-1047 CVE affects your products, with AI-written analysis and remediation steps.