Description
A method for a class performs an operation that directly accesses a member element from another class.
Potential Impact
Other
Reduce Maintainability, Increase Analytical Complexity
Related Weaknesses
Taxonomy Mappings
- OMG ASCMM: ASCMM-MNT-16 —
Frequently Asked Questions
What is CWE-1090?
CWE-1090 (Method Containing Access of a Member Element from Another Class) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. A method for a class performs an operation that directly accesses a member element from another class.
How can CWE-1090 be exploited?
Attackers can exploit CWE-1090 (Method Containing Access of a Member Element from Another Class) to reduce maintainability, increase analytical complexity. This weakness is typically introduced during the Implementation phase of software development.
How do I prevent CWE-1090?
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-1090?
CWE-1090 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.