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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2092 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)
Availability DoS: 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, Other Bypass 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 Design Design 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 Design Mitigation 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 Design Ensure that protocols have specific limits of scale placed on them.
Implementation Ensure 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 ID Title CVSS Severity Published
CVE-2022-4952 OmniSharp csharp-language-server-protocol JSON Serializer SerializerBase.cs CreateSerializerSettings resource consumption — csharp-language-server-protocol 3.5 Low 2023-07-17
CVE-2023-36818 Denial of service via User Custom Sidebar Section Unlimited Link Creation in discourse — discourse 6.5 Medium 2023-07-14
CVE-2023-35945 Envoy vulnerable to HTTP/2 memory leak in nghttp2 codec — envoy 7.5 High 2023-07-13
CVE-2023-37463 Quadratic complexity bugs may lead to a denial of service — cmark-gfm 6.4 Medium 2023-07-13
CVE-2023-34458 mx-chain-go's relayed transactions always increment nonce — mx-chain-go 7.1 High 2023-07-13
CVE-2023-26597 Controller DOS on sending error response — C300 7.5 High 2023-07-13
CVE-2023-29449 Limited control of resource utilization in JS preprocessing — Zabbix 5.9 Medium 2023-07-13
CVE-2023-35298 HTTP.sys Denial of Service Vulnerability — Windows Server 2022 7.5 High 2023-07-11
CVE-2023-35339 Windows CryptoAPI Denial of Service Vulnerability — Windows 10 Version 1809 7.5 High 2023-07-11
CVE-2023-35329 Windows Authentication Denial of Service Vulnerability — Windows 10 Version 1809 6.5 Medium 2023-07-11
CVE-2023-35921 Siemens SIMATIC 安全漏洞 — SIMATIC MV540 H 7.5 High 2023-07-11
CVE-2023-35920 Siemens SIMATIC 多款产品 安全漏洞 — SIMATIC MV540 H 7.5 High 2023-07-11
CVE-2023-1206 Linux kernel 资源管理错误漏洞 — Kernel 5.7 - 2023-06-30
CVE-2023-3398 Denial of Service in jgraph/drawio — jgraph/drawio 6.5 - 2023-06-26
CVE-2023-35925 FastAsyncWorldEdit vulnerable to Uncontrolled Resource Consumption — FastAsyncWorldEdit 6.2 Medium 2023-06-23
CVE-2023-33141 Yet Another Reverse Proxy (YARP) Denial of Service Vulnerability — YARP 1.0 7.5 High 2023-06-23
CVE-2023-34462 netty-handler SniHandler 16MB allocation — netty 6.5 Medium 2023-06-22
CVE-2023-2990 Fortra Globalscape Administration Server Denial of Service — Globalscape EFT 7.5 - 2023-06-22
CVE-2023-26434 Open-Xchange App Suite 安全漏洞 — OX App Suite 4.3 Medium 2023-06-20
CVE-2023-26433 Open-Xchange OX App Suite 安全漏洞 — OX App Suite 4.3 Medium 2023-06-20
CVE-2023-26432 Open-Xchange OX App Suite 安全漏洞 — OX App Suite 4.3 Medium 2023-06-20
CVE-2023-2785 Specially crafted search query can cause large log entries in postgres — Mattermost 4.3 Medium 2023-06-16
CVE-2023-2831 Denial of Service while unescaping a Markdown string — Mattermost 4.3 Medium 2023-06-16
CVE-2023-2793 Stack exhaustion in PreparePostForClientWithEmbedsAndImages — Mattermost 6.5 Medium 2023-06-16
CVE-2022-33168 IBM Security Directory Suite VA denial of service — Security Directory Suite VA 7.5 High 2023-06-15
CVE-2023-29331 .NET, .NET Framework, and Visual Studio Denial of Service Vulnerability — .NET 6.0 7.5 High 2023-06-14
CVE-2023-32013 Windows Hyper-V Denial of Service Vulnerability — Windows 10 Version 1809 5.3 Medium 2023-06-13
CVE-2023-2778 Rockwell Automation FactoryTalk Transaction Manager Vulnerable to Denial-Of-Service — FactoryTalk Transaction Manager 7.5 High 2023-06-13
CVE-2023-35053 JetBrains YouTrack 资源管理错误漏洞 — YouTrack 7.5 High 2023-06-12
CVE-2023-3163 y_project RuoYi filterKeyword resource consumption — RuoYi 3.5 Low 2023-06-08

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