Base · Medium

CWE-1094: Excessive Index Range Scan for a Data Resource

The product contains an index range scan for a large data table, but the scan can cover a large number of rows.

CWE-1094 · Base Level

Description

The product contains an index range scan for a large data table, but the scan can cover a large number of rows.

While the interpretation of "large data table" and "excessive index range" may vary for each product or developer, CISQ recommends a threshold of 1000000 table rows and a threshold of 10 for the index range.

Potential Impact

Other

Reduce Performance

Taxonomy Mappings

  • OMG ASCPEM: ASCPEM-PRF-7 —

Frequently Asked Questions

What is CWE-1094?

CWE-1094 (Excessive Index Range Scan for a Data Resource) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. The product contains an index range scan for a large data table, but the scan can cover a large number of rows.

How can CWE-1094 be exploited?

Attackers can exploit CWE-1094 (Excessive Index Range Scan for a Data Resource) to reduce performance. This weakness is typically introduced during the Implementation phase of software development.

How do I prevent CWE-1094?

Follow secure coding practices, conduct code reviews, and use automated security testing tools (SAST/DAST) to detect this weakness early in the development lifecycle.

What is the severity of CWE-1094?

CWE-1094 is classified as a Base-level weakness (Medium abstraction). Its actual severity depends on the specific context and how the weakness manifests in your application.