Description
A function or method contains too many operations that utilize a data manager or file resource.
While the interpretation of "too many operations" may vary for each product or developer, CISQ recommends a default maximum of 7 operations for the same data manager or file.
Potential Impact
Other
Reduce Maintainability
Related Weaknesses
Taxonomy Mappings
- OMG ASCMM: ASCMM-MNT-14 —
Frequently Asked Questions
What is CWE-1084?
CWE-1084 (Invokable Control Element with Excessive File or Data Access Operations) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. A function or method contains too many operations that utilize a data manager or file resource.
How can CWE-1084 be exploited?
Attackers can exploit CWE-1084 (Invokable Control Element with Excessive File or Data Access Operations) to reduce maintainability. This weakness is typically introduced during the Implementation phase of software development.
How do I prevent CWE-1084?
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-1084?
CWE-1084 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.