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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2080 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-2020-3132 Cisco Email Security Appliance Shortened URL Denial of Service Vulnerability — Cisco Email Security Appliance (ESA) 5.9 - 2020-02-19
CVE-2019-13925 多款Siemens产品 资源管理错误漏洞 — SCALANCE S602 7.5 - 2020-02-11
CVE-2019-13926 多款Siemens产品资源管理错误漏洞 — SCALANCE S602 7.5 - 2020-02-11
CVE-2019-13940 多款Siemens产品资源管理错误漏洞 — SIMATIC ET 200pro IM154-8 PN/DP CPU 5.3 Medium 2020-02-11
CVE-2019-13946 Siemens RUGGEDCOM 资源管理错误漏洞 — Development/Evaluation Kits for PROFINET IO: DK Standard Ethernet Controller 7.5 High 2020-02-11
CVE-2020-1700 Ceph RGW Beast 资源管理错误漏洞 — ceph 6.5 Medium 2020-02-07
CVE-2020-8123 strapi 资源管理错误漏洞 — Strapi 3.9 - 2020-02-04
CVE-2020-5236 Catastrophic backtracking in regex allows Denial of Service in Waitress — Waitress 5.7 Medium 2020-02-04
CVE-2019-5472 GitLab 安全漏洞 — GitLab 7.5 - 2020-01-28
CVE-2020-3131 Cisco Webex Teams Adaptive Cards Denial of Service Vulnerability — Cisco Webex Teams 5.7 - 2020-01-26
CVE-2019-14888 Red Hat Undertow 资源管理错误漏洞 — undertow 7.5 - 2020-01-23
CVE-2020-1600 Junos OS: A specific SNMP command can trigger a high CPU usage Denial of Service in the RPD daemon. — Junos OS 6.5 Medium 2020-01-15
CVE-2019-15584 GitLab 资源管理错误漏洞 — GitLab CE/EE 7.5 - 2019-12-20
CVE-2019-14901 Linux kernel 缓冲区错误漏洞 — kernel 9.8 - 2019-11-29
CVE-2019-16764 PowAssent is susceptible to denial of service attacks — pow_assent 6.5 Medium 2019-11-25
CVE-2019-11287 RabbitMQ Web Management Plugin DoS via heap overflow — RabbitMQ for Pivotal Platform 7.5 - 2019-11-22
CVE-2019-15593 GitLab 资源管理错误漏洞 — GitLab 6.5 - 2019-11-22
CVE-2019-12625 ClamAV Zip Bomb Vulnerability — ClamAV 7.5 High 2019-11-05
CVE-2019-5043 Google Nest Cam IQ Indoor 资源管理错误漏洞 — Nest Labs 7.5 - 2019-10-31
CVE-2019-7620 Elasticsearch Logstash 输入验证错误漏洞 — Logstash 7.5 - 2019-10-30
CVE-2019-15264 Cisco Aironet Access Points and Catalyst 9100 Access Points CAPWAP Denial of Service Vulnerability — Cisco Aironet Access Point Software 6.5 - 2019-10-16
CVE-2019-10923 多款Siemens产品资源管理错误漏洞 — Development/Evaluation Kits for PROFINET IO: DK Standard Ethernet Controller 7.5 High 2019-10-10
CVE-2019-10936 多款Siemens产品资源管理错误漏洞 — Development/Evaluation Kits for PROFINET IO: DK Standard Ethernet Controller 7.5 High 2019-10-10
CVE-2019-0059 Junos OS: The routing protocol process (rpd) may crash and generate core files upon receipt of specific valid BGP states from a peered host. — Junos OS 7.5 High 2019-10-09
CVE-2019-12714 Cisco IC3000 Industrial Compute Gateway Denial of Service Vulnerability — Cisco IC3000 Industrial Compute Gateway 6.5 - 2019-10-02
CVE-2019-12700 Cisco FTD, FMC, and FXOS Software Pluggable Authentication Module Denial of Service Vulnerability — Cisco Firepower Management Center 6.5 - 2019-10-02
CVE-2019-12698 Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software WebVPN CPU Denial of Service Vulnerability — Cisco Adaptive Security Appliance (ASA) Software 7.5 - 2019-10-02
CVE-2019-12658 Cisco IOS XE Software Filesystem Exhaustion Denial of Service Vulnerability — Cisco IOS XE Software 16.1.1 7.5 - 2019-09-25
CVE-2019-11060 HG100 contains an Uncontrolled Resource Consumption vulnerability — HG100 firmware 7.5 - 2019-08-29
CVE-2019-1965 Cisco NX-OS Software Remote Management Memory Leak Denial of Service Vulnerability — Cisco NX-OS Software 6.5 - 2019-08-28

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