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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2084 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-26477 Denial of service in readExternal method — Apache SystemDS 7.5 - 2022-06-27
CVE-2022-31016 Argo CD vulnerable to Uncontrolled Memory Consumption — argo-cd 6.5 Medium 2022-06-25
CVE-2022-31803 CODESYS Gateway Server V2 prone to Denial of Service Attack — CODESYS Gateway Server V2 5.3 Medium 2022-06-24
CVE-2022-27889 The Foundry Multipass service contains code paths that could be abused to cause a denial of service for authentication and authorization operations. — Foundry Multipass 5.3 Medium 2022-06-14
CVE-2022-31054 Uses of deprecated API can be used to cause DoS in user-facing endpoints in Argo Events — argo-events 7.5 High 2022-06-13
CVE-2022-29225 Zip bomb vulnerability in Envoy — envoy 7.5 High 2022-06-09
CVE-2022-1708 CRI-O 资源管理错误漏洞 — CRI-O 6.5 - 2022-06-07
CVE-2022-31030 containerd CRI plugin: Host memory exhaustion through ExecSync — containerd 5.5 Medium 2022-06-06
CVE-2022-31028 Possible DDOS by establishing keep-alive connections with anonymous HTTP clients in MinIO — minio 7.5 High 2022-06-03
CVE-2022-22556 Dell EMC PowerStore 资源管理错误漏洞 — PowerStore 3.7 Low 2022-06-02
CVE-2022-1982 A crafted SVG attachment can crash a Mattermost server — Mattermost 4.3 Medium 2022-06-02
CVE-2022-31018 Denial of service binding form from JSON in Play Framework — playframework 7.5 High 2022-06-02
CVE-2022-27781 curl 安全漏洞 — https://github.com/curl/curl 7.5 - 2022-06-01
CVE-2022-1797 Rockwell Automation Logix Controllers Uncontrolled Resource Consumption — CompactLogix 5380 controllers 6.8 Medium 2022-05-31
CVE-2021-3629 Red Hat Undertow 资源管理错误漏洞 — undertow 5.9 - 2022-05-24
CVE-2022-29177 DoS via malicious p2p message in Go-Ethereum — go-ethereum 5.9 Medium 2022-05-20
CVE-2022-28191 NVIDIA vGPU Manager 资源管理错误漏洞 — NVIDIA Virtual GPU Software and NVIDIA Cloud Gaming 5.5 Medium 2022-05-17
CVE-2022-29885 EncryptInterceptor does not provide complete protection on insecure networks — Apache Tomcat 7.5 - 2022-05-12
CVE-2022-27640 Siemens SIMATIC 资源管理错误漏洞 — SIMATIC CP 442-1 RNA 6.5 - 2022-05-10
CVE-2022-24040 多款Siemens产品资源管理错误漏洞 — Desigo DXR2 6.5 - 2022-05-10
CVE-2022-24902 Memory issue in playing videos — tkVideoPlayer 2.9 Low 2022-05-05
CVE-2022-29167 ReDoS vulnerability in header parsing in hawk — hawk 7.4 High 2022-05-05
CVE-2022-29480 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 5.3 Medium 2022-05-05
CVE-2022-28701 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 7.5 High 2022-05-05
CVE-2022-28691 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 7.5 High 2022-05-05
CVE-2022-26372 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 7.5 High 2022-05-05
CVE-2022-1468 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 4.3 Medium 2022-05-05
CVE-2022-27182 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 5.3 Medium 2022-05-05
CVE-2022-27181 F5 BIG-IP APM 资源管理错误漏洞 — BIG-IP APM 5.3 Medium 2022-05-05
CVE-2022-20760 Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software DNS Inspection Denial of Service Vulnerability — Cisco Adaptive Security Appliance (ASA) Software 8.6 High 2022-05-03

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