CWE-1061 — Insufficient Encapsulation
CWE-1061: Insufficient Encapsulation
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Class |
| Status | Incomplete |
| Likelihood of exploit | — |
Description
The product does not sufficiently hide the internal representation and implementation details of data or methods, which might allow external components or modules to modify data unexpectedly, invoke unexpected functionality, or introduce dependencies that the programmer did not intend.
Common consequences
- Access Control: Varies by Context, Bypass Protection Mechanism
- Other: Reduce Maintainability, Increase Analytical Complexity
Mitigations
(none listed)
References
- CWE page: https://cwe.mitre.org/data/definitions/1061.html
- CWE list: https://cwe.mitre.org/data/index.html