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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2081 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-2021-34792 Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software Resource Exhaustion Denial of Service Vulnerability — Cisco Adaptive Security Appliance (ASA) Software 8.6 High 2021-10-27
CVE-2021-22101 Cloud Foundry Cloud Controller 资源管理错误漏洞 — Cloud Foundry Cloud Controller 7.5 - 2021-10-27
CVE-2021-41145 FreeSWITCH susceptible to Denial of Service via SIP flooding — freeswitch 8.6 High 2021-10-25
CVE-2021-38465 AUVESY Versiondog — Versiondog 8.0 High 2021-10-22
CVE-2021-38463 AUVESY Versiondog — Versiondog 7.3 High 2021-10-22
CVE-2021-41168 Hash-Collision Denial-of-Service Vulnerability in snudown — snudown 6.5 Medium 2021-10-21
CVE-2021-41167 Unlimited requests in modern-async — modern-async 7.5 High 2021-10-20
CVE-2021-31368 Junos OS: EX2300 Series, EX3400 Series, and ACX710 might become unresponsive if the out-of-band management port receives a flood of traffic — Junos OS 7.5 High 2021-10-19
CVE-2021-31365 Junos OS: EX2300, EX3400 and EX4300 Series: An Aggregated Ethernet (AE) interface will go down due to a stream of specific layer 2 frames — Junos OS 6.5 Medium 2021-10-19
CVE-2021-37136 Netty 资源管理错误漏洞 — Netty 7.5 - 2021-10-19
CVE-2021-37137 Netty 资源管理错误漏洞 — Netty 7.5 - 2021-10-19
CVE-2021-22964 Fastify-Static 输入验证错误漏洞 — https://github.com/fastify/fastify-static 8.8 - 2021-10-14
CVE-2021-33609 Denial of service in DataCommunicator class in Vaadin 8 — Vaadin 4.3 Medium 2021-10-13
CVE-2021-41546 Siemens Ruggedcom Rox Mx5000 资源管理错误漏洞 — RUGGEDCOM ROX MX5000 7.5 - 2021-10-12
CVE-2021-41115 Regular expression denial-of-service in Zulip — zulip 4.3 Medium 2021-10-07
CVE-2021-41118 ReDoS in DynamicPageList3 — DynamicPageList3 5.3 Medium 2021-10-04
CVE-2021-39229 Regular expression deinal of service in apprise — apprise 7.5 High 2021-09-20
CVE-2021-32838 Regular Expression Denial of Service in flask-restx — flask-restx 7.5 High 2021-09-20
CVE-2021-32839 Regular Expression Denial of Service in sqlparse — sqlparse 7.5 High 2021-09-20
CVE-2021-23042 F5 BIG-IP资源管理错误漏洞 — BIG-IP 7.5 - 2021-09-14
CVE-2021-23047 F5 BIG-IP APM资源管理错误漏洞 — BIG-IP APM 5.3 - 2021-09-14
CVE-2021-23049 F5 BIG-IP资源管理错误漏洞 — BIG-IP 7.5 - 2021-09-14
CVE-2021-23053 F5 BIG-IP 资源管理错误漏洞 — BIG-IP Advanced WAF and BIG-IP ASM 5.3 - 2021-09-14
CVE-2021-32832 ReDOS in Rocket.Chat — Rocket.Chat 4.3 Medium 2021-08-30
CVE-2021-39171 Unlimited transforms allowed for signed nodes — passport-saml 5.3 Medium 2021-08-27
CVE-2021-33580 regex injection leading to DoS — Apache Roller 7.5 - 2021-08-18
CVE-2021-25659 Siemens Automation License Manager 资源管理错误漏洞 — Automation License Manager 5 7.5 - 2021-08-10
CVE-2021-3679 Linux kernel 资源管理错误漏洞 — kernel 4.7 - 2021-08-05
CVE-2021-21565 Dell Technologies Dell PowerScale OneFS 资源管理错误漏洞 — PowerScale OneFS 5.3 Medium 2021-08-02
CVE-2021-25701 PCoIP Software Client 资源管理错误漏洞 — - PCoIP Software Client 5.5 - 2021-07-21

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