4
References
[REF-960]Object Management Group (OMG). "Automated Source Code Maintainability Measure
(ASCMM)". 2016 January. < https://www.omg.org/spec/ASCMM/ >.2023-04-07.
CWE-1049: Excessive Data Query Operations in a Large Data Table
Weakness ID : 1049
Structure : Simple
Abstraction : Base
Description
The product performs a data query with a large number of joins and sub-queries on a large data
table.
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 data table" and "large number of joins or sub-queries" may vary for
each product or developer, CISQ recommends a default of 1 million rows for a "large" data table, a
default minimum of 5 joins, and a default minimum of 3 sub-queries.
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
CWE Version 4.14
CWE-1050: Excessive Platform Resource Consumption within a Loop
CWE-1050: Excessive Platform Resource Consumption within a Loop