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-2024-32663 Suricata 's http2 parser contains an improper compressed header handling can lead to resource starvation — suricata 7.5 High2024-05-07
CVE-2024-34084 Minder's Github Webhook Handler vulnerable to denial of service from un-validated requests — minder 7.5 High2024-05-07
CVE-2024-4599 Denial of service vulnerability in LAN Messenger — LAN Messenger 7.5 High2024-05-07
CVE-2024-32972 go-ethereum denial of service via malicious p2p message — go-ethereum 7.5 High2024-05-06
CVE-2023-39477 Inductive Automation Ignition ConditionRefresh Resource Exhaustion Denial-of-Service Vulnerability — Ignition 7.5 -2024-05-03
CVE-2023-27334 Softing edgeConnector Siemens ConditionRefresh Resource Exhaustion Denial-of-Service Vulnerability — edgeConnector Siemens 7.5 -2024-05-03
CVE-2024-32984 Yamux Memory Exhaustion Vulnerability via Active::pending_frames property — rust-yamux 7.5 High2024-05-01
CVE-2024-32476 Denial of Service via malicious jqPathExpressions in ignoreDifferences — argo-cd 6.5 Medium2024-04-26
CVE-2024-4183 Mattermost 安全漏洞 — Mattermost 4.3 Medium2024-04-26
CVE-2024-22091 Excessive resource consumption due to lack to request path size limits — Mattermost 3.1 Low2024-04-26
CVE-2024-3508 Bzip2: compressed content bomb leads to denial of service of bombastic api 4.3 Medium2024-04-25
CVE-2023-6596 Openshift: incomplete fix for rapid reset (cve-2023-44487/cve-2023-39325) 7.5 High2024-04-25
CVE-2024-31994 Mealie vulnerable to a DoS in recipe image importer (GHSL-2023-228) — mealie 6.5 Medium2024-04-19
CVE-2024-31992 Mealie contains a DoS vulnerability in recipe importer — mealie 6.5 Medium2024-04-19
CVE-2024-3872 Mattermost Mobile Apps 安全漏洞 — Mattermost 3.1 Low2024-04-16
CVE-2024-1569 Uncontrolled Resource Consumption in parisneo/lollms-webui — parisneo/lollms-webui 7.5 -2024-04-16
CVE-2024-3789 Uncontrolled Resource Consumption vulnerability in WBSAirback — White Bear Solutions 6.5 Medium2024-04-15
CVE-2024-0157 Dell Storage Resource Manager 资源管理错误漏洞 — Dell Storage Resource Manager 5.9 Medium2024-04-12
CVE-2024-3569 Denial of Service (DoS) Vulnerability in mintplex-labs/anything-llm — mintplex-labs/anything-llm 7.5AIHighAI2024-04-10
CVE-2024-26215 DHCP Server Service Denial of Service Vulnerability — Windows Server 2019 7.5 High2024-04-09
CVE-2024-26212 DHCP Server Service Denial of Service Vulnerability — Windows Server 2019 7.5 High2024-04-09
CVE-2024-28949 DoS via a large number of User Preferences — Mattermost 4.3 Medium2024-04-05
CVE-2024-31209 OpenID Connect client Atom Exhaustion in provider configuration worker ets table location — oidcc 5.3 Medium2024-04-04
CVE-2024-29893 Uncontrolled Resource Consumption vulnerability in ArgoCD's repo server — argo-cd 6.5 Medium2024-03-29
CVE-2024-23450 Elasticsearch Uncontrolled Resource Consumption vulnerability — Elasticsearch 4.9 Medium2024-03-27
CVE-2023-47150 IBM Common Cryptographic Architecture denial of service — Common Cryptographic Architecture 7.5 High2024-03-26
CVE-2023-5685 Xnio: stackoverflowexception when the chain of notifier states becomes problematically big — Red Hat build of Apache Camel 4.4.0 for Spring Boot 7.5 High2024-03-22
CVE-2024-29186 Slow String Operations via MultiPart Requests in Event-Driven Functions — bref 5.3 Medium2024-03-22
CVE-2024-28863 node-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validation — node-tar 6.5 Medium2024-03-21
CVE-2023-49837 WordPress embed-code plugin <= 2.3.6 - Denial of Service Attack vulnerability — Code Embed 6.5 Medium2024-03-21

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