9
References
[REF-959]Object Management Group (OMG). "Automated Source Code Performance Efficiency
Measure (ASCPEM)". 2016 January. < https://www.omg.org/spec/ASCPEM/ >.2023-04-07.
CWE-1061: Insufficient Encapsulation
Weakness ID : 1061
Structure : Simple
Abstraction : Class
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.
Extended Description
This issue makes it more difficult to 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.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 710 Improper Adherence to Coding Standards 1549
ParentOf 766 Critical Data Element Declared Public 1607
ParentOf 1054 Invocation of a Control Element at an Unnecessarily Deep
Horizontal Layer