CWE WEAKNESSES / CWE-1061
CWE-1061
Insufficient Encapsulation
Class
What it is
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.
Impact
| Access Control | Varies by Context, Bypass Protection Mechanism |
| Other | Reduce Maintainability, Increase Analytical Complexity |
Real-world CVE examples
- CVE-2010-3860 — variables declared public allow remote read of system properties such as user name and home directory.
Related weaknesses
Test & detect
Browse all common weaknesses, check related exploited CVEs, or map to ATT&CK techniques.
Source: MITRE CWE. View on cwe.mitre.org →