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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-400 (未加控制的资源消耗(资源穷尽)) — Vulnerability Class 1397

1397 vulnerabilities classified as CWE-400 (未加控制的资源消耗(资源穷尽)). AI Chinese analysis included.

CWE-400 represents a critical resource management weakness where software fails to properly control the allocation and maintenance of finite system resources, such as memory, CPU cycles, or file descriptors. Attackers typically exploit this vulnerability by triggering actions that consume excessive resources, leading to denial-of-service conditions that degrade performance or crash the application entirely. This often occurs through crafted inputs that force infinite loops, excessive data processing, or unbounded memory allocation. To mitigate this risk, developers must implement strict resource limits, including timeouts, maximum iteration counts, and memory caps. Additionally, employing robust input validation and monitoring tools helps detect abnormal consumption patterns early. By enforcing these controls, engineers ensure that applications remain resilient against resource exhaustion attacks, maintaining availability and stability even under malicious stress or unexpected load spikes.

MITRE CWE Description
The product does not properly control the allocation and maintenance of a limited resource.
Common Consequences (2)
AvailabilityDoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
If an attacker can trigger the allocation of the limited resources, but the number or size of the resources is not controlled, then the most common result is denial of service. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding envir…
Access Control, OtherBypass Protection Mechanism, Other
In some cases it may be possible to force the product to "fail open" in the event of resource exhaustion. The state of the product -- and possibly the security functionality - may then be compromised.
Mitigations (4)
Architecture and DesignDesign throttling mechanisms into the system architecture. The best protection is to limit the amount of resources that an unauthorized user can cause to be expended. A strong authentication and access control model will help prevent such attacks from occurring in the first place. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perha…
Architecture and DesignMitigation of resource exhaustion attacks requires that the target system either: recognizes the attack and denies that user further access for a given amount of time, or uniformly throttles all requests in order to make it more difficult to consume resources more quickly than they can again be freed. The first of these solutions is an issue in itself though, since it may allow attackers to preven…
Architecture and DesignEnsure that protocols have specific limits of scale placed on them.
ImplementationEnsure that all failures in resource allocation place the system into a safe posture.
Examples (2)
The following example demonstrates the weakness.
class Worker implements Executor { ... public void execute(Runnable r) { try { ... } catch (InterruptedException ie) { // postpone response Thread.currentThread().interrupt(); } } public Worker(Channel ch, int nworkers) { ... } protected void activate() { Runnable loop = new Runnable() { public void run() { try { for (;;) { Runnable r = ...; r.run(); } } catch (InterruptedException ie) { ... } } }; new Thread(loop).start(); } }
Bad · Java
This code allocates a socket and forks each time it receives a new connection.
sock=socket(AF_INET, SOCK_STREAM, 0); while (1) { newsock=accept(sock, ...); printf("A connection has been accepted\n"); pid = fork(); }
Bad · C
CVE IDTitleCVSSSeverityPublished
CVE-2022-36034 Possible Regular Expression Denial of Service (ReDoS) used on uncontrolled data in nitrado.js — nitrado.js 7.5 High2022-08-29
CVE-2022-0669 DPDK 资源管理错误漏洞 — DPDK 6.5 -2022-08-29
CVE-2021-3669 Linux kernel资源管理错误漏洞 — kernel 5.5 -2022-08-26
CVE-2021-4022 Rizin 资源管理错误漏洞 — rizin 5.5 -2022-08-25
CVE-2021-42521 VTK 代码问题漏洞 — vtk 7.5 -2022-08-25
CVE-2021-4040 Red Hat AMQ Broker 缓冲区错误漏洞 — AMQ Broker 5.3 -2022-08-24
CVE-2021-3764 Linux kernel 安全漏洞 — Linux Kernel 5.5 -2022-08-23
CVE-2021-3690 Red Hat JBoss Enterprise Application Platform资源管理错误漏洞 — undertow 7.5 -2022-08-23
CVE-2021-3670 Samba ldb 安全漏洞 — samba 9.1 -2022-08-23
CVE-2021-20298 ILM OpenEXR 缓冲区错误漏洞 — OpenEXR 7.5 -2022-08-23
CVE-2021-3759 Linux kernel 资源管理错误漏洞 — kernel 5.5 -2022-08-23
CVE-2022-2053 Red Hat Undertow 资源管理错误漏洞 — Undertow 7.5 -2022-08-05
CVE-2022-35241 NGINX Instance Manager vulnerability CVE-2022-35241 — NGINX Instance Manager 6.5 Medium2022-08-04
CVE-2022-35236 HTTP2 profile vulnerability CVE-2022-35236 — BIG-IP 7.5 High2022-08-04
CVE-2022-33203 BIG-IP APM and F5 SSL Orchestrator vulnerability CVE-2022-33203 — BIG-IP APM 7.5 High2022-08-04
CVE-2022-35923 Inefficient Regular Expression Complexity in v8n — v8n 7.5 High2022-08-02
CVE-2022-35922 Memory allocation based on untrusted length in rust-websocket — rust-websocket 7.5 High2022-08-01
CVE-2022-35915 Unbounded gas consumption in @openzeppelin/contracts — openzeppelin-contracts 5.3 Medium2022-08-01
CVE-2022-31173 Juniper is vulnerable to @DOS GraphQL Nested Fragments overflow — juniper 7.5 High2022-08-01
CVE-2022-24294 ReDoS in Apache MXNet RTC Module — Apache MXNet 7.5 -2022-07-24
CVE-2022-2406 Malicious imports can lead to Denial of Service — Mattermost 4.3 Medium2022-07-14
CVE-2022-31080 KubeEdge Websocket Client in package Viaduct: DoS from large response message — kubeedge 4.4 Medium2022-07-11
CVE-2022-31079 KubeEdge Cloud Stream and Edge Stream DoS from large stream message — kubeedge 4.4 Medium2022-07-11
CVE-2022-31078 KubeEdge CloudCore Router memory exhaustion — kubeedge 4.4 Medium2022-07-11
CVE-2022-31075 KubeEdge DoS when signing the CSR from EdgeCore — kubeedge 4.9 Medium2022-07-11
CVE-2022-31074 KubeEdge Cloud AdmissionController component DoS — kubeedge 4.5 Medium2022-07-11
CVE-2022-31073 KubeEdge Edge ServiceBus module DoS — kubeedge 6.5 Medium2022-07-11
CVE-2022-30792 CODESYS: CmpChannelServer, CmpChannelServerEmbedded allow unauthenticated attackers to block all their available communication channels — CODESYS Control RTE (SL) 7.5 High2022-07-11
CVE-2022-30791 CODESYS V3: CmpBlkDrvTcp allows unauthenticated attackers to block all its available TCP connections — CODESYS Control RTE (SL) 7.5 High2022-07-11
CVE-2022-20808 Cisco Smart Software Manager On-Prem Denial of Service Vulnerability — Cisco Smart Software Manager On-Prem 7.7 High2022-07-06

Vulnerabilities classified as CWE-400 (未加控制的资源消耗(资源穷尽)) represent 1397 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.