Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-1049 (大数据表中的数据查询操作过多) — Vulnerability Class 3

3 vulnerabilities classified as CWE-1049 (大数据表中的数据查询操作过多). AI Chinese analysis included.

CWE-1049 represents a performance-related weakness where applications execute inefficient database queries involving excessive joins and sub-queries against large datasets. This flaw typically manifests when developers fail to optimize SQL statements, leading to severe latency, high CPU usage, and potential denial-of-service conditions as the database struggles to process complex operations on tables exceeding one million rows. Attackers may exploit this by triggering resource-intensive queries, effectively exhausting system resources and degrading service availability for legitimate users. To mitigate this risk, developers must implement rigorous query optimization techniques, such as indexing strategic columns, reducing join complexity, and limiting result sets. Regular performance testing and adherence to CISQ guidelines regarding query structure are essential for maintaining system stability and ensuring responsive data retrieval in high-volume environments.

MITRE CWE Description
The product performs a data query with a large number of joins and sub-queries on a large data table. 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.
Common Consequences (1)
OtherReduce Performance
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.
CVE IDTitleCVSSSeverityPublished
CVE-2025-0190 Denial of Service in aimhubio/aim — aimhubio/aim 7.5 -2025-03-20
CVE-2023-5192 Excessive Data Query Operations in a Large Data Table in pimcore/demo — pimcore/demo 8.8 -2023-09-26
CVE-2019-8460 OpenBSD 安全漏洞 — OpenBSD 7.5 -2019-08-26

Vulnerabilities classified as CWE-1049 (大数据表中的数据查询操作过多) represent 3 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.