13
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.
[REF-974]Wikipedia. "Connection pool". < https://en.wikipedia.org/wiki/Connection_pool >.
CWE-1073: Non-SQL Invokable Control Element with Excessive Number of
Data Resource Accesses
Weakness ID : 1073
Structure : Simple
Abstraction : Base
Description
The product contains a client with a function or method that contains a large number of data
accesses/queries that are sent through a data manager, i.e., does not use efficient database
capabilities.
Extended Description
This issue can make the product perform more slowly. If the relevant code is reachable by an
attacker, then this performance problem might introduce a vulnerability.
While the interpretation of "large number of data accesses/queries" may vary for each product or
developer, CISQ recommends a default maximum of 2 data accesses per function/method.
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 405 Asymmetric Resource Consumption (Amplification) 986
Relevant to the view "Software Development" (CWE-699)
Nature Type ID Name Page
MemberOf 1006 Bad Coding Practices 2422
Weakness Ordinalities
Indirect :
Common Consequences
Scope Impact Likelihood
Other Reduce Performance
MemberOf Relationships
This MemberOf relationships table shows additional CWE Catgeories and Views that reference this
weakness as a member. This information is often useful in understanding where a weakness fits
within the context of external information sources.
CWE Version 4.14
CWE-1074: Class with Excessively Deep Inheritance
CWE-1074: Class with Excessively Deep Inheritance