BaseIncomplete

CWE-1090Method Containing Access of a Member Element from Another Class

Category: other

Description

A method for a class performs an operation that directly accesses a member element from another class.

Common consequences· 1

  • Other — Reduce Maintainability, Increase Analytical Complexity
    This issue suggests poor encapsulation and makes it more difficult to understand and maintain the product, 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.

References

  1. https://cwe.mitre.org/data/definitions/1090.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Parent Class with References to Child Class
CWE
Static Member Data Element outside of a Singleton Class Element
CWE
Creation of Class Instance within a Static Code Block
CWE
Class with Virtual Method without a Virtual Destructor
CWE
Use of Object without Invoking Destructor Method
CWE
Serializable Class Containing Sensitive Data
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.