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-2023-45319 Unauthenticated Remote Denial-of-Service (Commit) in Helix Core — Helix Core 7.5 High2023-11-08
CVE-2023-35767 Unauthenticated Remote Denial-of-Service via Shutdown Function in Helix Core — Helix Core 7.5 High2023-11-08
CVE-2023-46737 Possible endless data attack from attacker-controlled registry in cosign — cosign 3.1 Low2023-11-07
CVE-2023-5969 Denial of Service via Link Preview in /api/v4/redirect_location — Mattermost 5.3 Medium2023-11-06
CVE-2023-41378 Calico Typha hangs during unclean TLS handshake — Typha 7.5 High2023-11-06
CVE-2023-42669 Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc 6.5 Medium2023-11-06
CVE-2023-42670 Samba: ad dc busy rpc multiple listener dos 6.5 Medium2023-11-03
CVE-2023-29046 Open-Xchange App Suite 资源管理错误漏洞 — OX App Suite 4.3 Medium2023-11-02
CVE-2023-5876 Regex DoS from a malicious server enrolled in Desktop — Mattermost Desktop 3.1 Low2023-11-02
CVE-2023-31418 Elasticsearch uncontrolled resource consumption — Elasticsearch 7.5 High2023-10-26
CVE-2023-39219 Admin Console Denial of Service via Java class enumeration — PingFederate 7.5 High2023-10-25
CVE-2023-46118 Denial of Service by publishing large messages over the HTTP API — rabbitmq-server 4.9 Medium2023-10-24
CVE-2023-46120 RabbitMQ Java client's lack of message size limitation leads to remote DoS attack — rabbitmq-java-client 4.9 Medium2023-10-24
CVE-2022-3698 Lenovo Diagnostics 资源管理错误漏洞 — HardwareScanPlugin 4.4 Medium2023-10-24
CVE-2022-0353 Lenovo Vantage 资源管理错误漏洞 — HardwareScanPlugin 4.4 Medium2023-10-24
CVE-2023-42031 IBM CICS TX denial of service — TXSeries for Multiplatforms 4.9 Medium2023-10-24
CVE-2023-43622 Apache HTTP Server: DoS in HTTP/2 with initial windows size 0 — Apache HTTP Server 7.5 -2023-10-23
CVE-2023-45810 OpenFGA denial of service — openfga 5.3 Medium2023-10-17
CVE-2023-5522 Mobile app freezes when receiving a post with hundreds of emojis — Mattermost 4.3 Medium2023-10-17
CVE-2022-43893 IBM Security Verify Privilege denial of service — Security Verify Privilege 2.7 Low2023-10-17
CVE-2023-44388 Malicious requests can fill up the log files resulting in a deinal of service in Discourse — discourse 7.5 High2023-10-16
CVE-2023-45150 Inviting excessive long email addresses to a calendar event makes the Nextcloud server unresponsive — security-advisories 4.3 Medium2023-10-16
CVE-2023-40180 Denial of service vulnerability in silverstripe-graphql via recursive queries — silverstripe-graphql 7.5 High2023-10-16
CVE-2023-5595 Denial of Service in gpac/gpac — gpac/gpac 5.5 -2023-10-16
CVE-2022-43740 IBM Security Verify Access denial of service — Security Verify Access 7.5 High2023-10-14
CVE-2023-38251 Adobe Commerce | Uncontrolled Resource Consumption (CWE-400) — Adobe Commerce 5.3 Medium2023-10-13
CVE-2023-36841 Junos OS: MX Series: Receipt of malformed TCP traffic will cause a Denial of Service — Junos OS 7.5 High2023-10-12
CVE-2023-27314 Denial of Service Vulnerability in ONTAP 9 — ONTAP 9 7.5 High2023-10-12
CVE-2023-25774 SoftEther VPN 资源管理错误漏洞 — SoftEther VPN 7.5 High2023-10-12
CVE-2023-36431 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1809 7.5 High2023-10-10

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