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-2019-10948 多款Fujifilm产品资源管理错误漏洞 — Fujifilm FCR Capsula X/ Carbon X 7.5 -2019-04-30
CVE-2018-16878 Pacemaker 资源管理错误漏洞 — pacemaker 5.5 -2019-04-18
CVE-2019-10953 多款PLC产品资源管理错误漏洞 — ABB, Phoenix Contact, Schneider Electric, Siemens, WAGO - Programmable Logic Controllers 7.5 -2019-04-17
CVE-2019-0031 Junos OS: jdhcpd daemon memory consumption Denial of Service when receiving specific IPv6 DHCP packets. — Junos OS 6.5 -2019-04-10
CVE-2019-0033 SRX Series: A remote attacker may cause a high CPU Denial of Service to the device when proxy ARP is configured. — Junos OS 7.5 -2019-04-10
CVE-2019-0038 SRX Series: Crafted packets destined to fxp0 management interface on SRX340/SRX345 devices can lead to DoS — Junos OS 7.5 -2019-04-10
CVE-2018-13296 Synology MailPlus Server 资源管理错误漏洞 — MailPlus Server 7.5 -2019-04-01
CVE-2019-5739 Joyent Node.js 资源管理错误漏洞 — Node.js 7.5 -2019-03-28
CVE-2019-5737 Joyent Node.js 资源管理错误漏洞 — Node.js 5.9 -2019-03-28
CVE-2019-1737 Cisco IOS and IOS XE Software IP Service Level Agreement Denial of Service Vulnerability — Cisco IOS and IOS-XE Software 8.6 -2019-03-27
CVE-2018-12545 Eclipse Jetty 输入验证错误漏洞 — Eclipse Jetty 7.5 -2019-03-27
CVE-2019-5419 Rails 资源管理错误漏洞 — https://github.com/rails/rails 7.5 -2019-03-27
CVE-2019-3874 Linux kernel 资源管理错误漏洞 — kernel 7.5 -2019-03-25
CVE-2019-6559 多款Moxa产品资源管理错误漏洞 — Moxa IKS, EDS 6.5 -2019-03-05
CVE-2017-0938 Ubiquiti Networks airMAX和EdgeMAX 输入验证错误漏洞 — airMAX, EdgeMAX 7.5 -2019-02-12
CVE-2019-1672 Cisco Web Security Appliance Decryption Policy Bypass Vulnerability — Cisco Web Security Appliance (WSA) 5.3 -2019-02-08
CVE-2019-6535 Mitsubishi Electric MELSEC-Q Series PLCs Resource Exhaustion — Q03/04/06/13/26UDVCPU 7.5 High2019-02-05
CVE-2018-16486 defaults-deep 注入漏洞 — defaults-deep 9.8 -2019-02-01
CVE-2018-16487 lodash 资源管理错误漏洞 — lodash 6.5 -2019-02-01
CVE-2018-16489 just-extend 注入漏洞 — just-extend 9.8 -2019-02-01
CVE-2018-16490 mpath module 注入漏洞 — mpath 9.4 -2019-02-01
CVE-2018-16491 node.extend 注入漏洞 — node.extend 9.8 -2019-02-01
CVE-2018-16492 extend module 注入漏洞 — extend 9.8 -2019-02-01
CVE-2019-1644 Cisco IoT Field Network Director Resource Exhaustion Denial of Service Vulnerability — Cisco IoT Field Network Director (IoT-FND) 7.5 -2019-01-23
CVE-2019-3554 Facebook Wangle 安全漏洞 — Wangle 5.9 -2019-01-15
CVE-2018-15464 Cisco ASR 900 Series Aggregation Services Router Software Denial of Service Vulnerability — Cisco ASR 900 Series Aggregation Services Routers 5.8 -2019-01-11
CVE-2018-6346 Facebook Proxygen 安全漏洞 — Proxygen 7.5 -2018-12-31
CVE-2018-6347 Facebook Proxygen HTTP2 Parser 安全漏洞 — Proxygen 7.5 -2018-12-31
CVE-2018-6335 Facebook HHVM 安全漏洞 — HHVM 7.5 -2018-12-31
CVE-2018-6332 Facebook HHVM 安全漏洞 — HHVM 5.9 -2018-12-03

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