CWE-1176: Inefficient CPU Computation
CWE版本: 4.18
更新日期: 2025-09-09
弱点描述
The product performs CPU computations using algorithms that are not as efficient as they could be for the needs of the developer, i.e., the computations can be optimized further.
常见后果
影响范围: Availability
技术影响: DoS: Resource Consumption (CPU)
影响范围: Other
技术影响: Reduce Performance
观察示例
参考: CVE-2022-37734
Chain: lexer in Java-based GraphQL server does not enforce maximum of tokens early enough (CWE-696), allowing excessive CPU consumption (CWE-1176)
引入模式
| 阶段 | 说明 |
|---|---|
| Architecture and Design | - |
| Implementation | - |