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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2092 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-2023-6277 Libtiff: out-of-memory in tiffopen via a craft file — Red Hat Enterprise Linux 6 6.5 Medium 2023-11-24
CVE-2023-36038 ASP.NET Core Denial of Service Vulnerability — ASP.NET Core 8.0 8.2 High 2023-11-14
CVE-2023-44321 Siemens SCALANCE 多款产品安全漏洞 — RUGGEDCOM RM1224 LTE(4G) EU 2.7 Low 2023-11-14
CVE-2023-42813 Denial of service from malicious manifest in kyverno — kyverno 6.1 Medium 2023-11-13
CVE-2023-5759 Unauthenticated Remote Denial-of-Service via Buffer in Helix Core — Helix Core 7.5 High 2023-11-08
CVE-2023-45319 Unauthenticated Remote Denial-of-Service (Commit) in Helix Core — Helix Core 7.5 High 2023-11-08
CVE-2023-35767 Unauthenticated Remote Denial-of-Service via Shutdown Function in Helix Core — Helix Core 7.5 High 2023-11-08
CVE-2023-46737 Possible endless data attack from attacker-controlled registry in cosign — cosign 3.1 Low 2023-11-07
CVE-2023-5969 Denial of Service via Link Preview in /api/v4/redirect_location — Mattermost 5.3 Medium 2023-11-06
CVE-2023-41378 Calico Typha hangs during unclean TLS handshake — Typha 7.5 High 2023-11-06
CVE-2023-42669 Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc 6.5 Medium 2023-11-06
CVE-2023-42670 Samba: ad dc busy rpc multiple listener dos 6.5 Medium 2023-11-03
CVE-2023-29046 Open-Xchange App Suite 资源管理错误漏洞 — OX App Suite 4.3 Medium 2023-11-02
CVE-2023-5876 Regex DoS from a malicious server enrolled in Desktop — Mattermost Desktop 3.1 Low 2023-11-02
CVE-2023-31418 Elasticsearch uncontrolled resource consumption — Elasticsearch 7.5 High 2023-10-26
CVE-2023-39219 Admin Console Denial of Service via Java class enumeration — PingFederate 7.5 High 2023-10-25
CVE-2023-46118 Denial of Service by publishing large messages over the HTTP API — rabbitmq-server 4.9 Medium 2023-10-24
CVE-2023-46120 RabbitMQ Java client's lack of message size limitation leads to remote DoS attack — rabbitmq-java-client 4.9 Medium 2023-10-24
CVE-2022-3698 Lenovo Diagnostics 资源管理错误漏洞 — HardwareScanPlugin 4.4 Medium 2023-10-24
CVE-2022-0353 Lenovo Vantage 资源管理错误漏洞 — HardwareScanPlugin 4.4 Medium 2023-10-24
CVE-2023-42031 IBM CICS TX denial of service — TXSeries for Multiplatforms 4.9 Medium 2023-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 Medium 2023-10-17
CVE-2023-5522 Mobile app freezes when receiving a post with hundreds of emojis — Mattermost 4.3 Medium 2023-10-17
CVE-2022-43893 IBM Security Verify Privilege denial of service — Security Verify Privilege 2.7 Low 2023-10-17
CVE-2023-44388 Malicious requests can fill up the log files resulting in a deinal of service in Discourse — discourse 7.5 High 2023-10-16
CVE-2023-45150 Inviting excessive long email addresses to a calendar event makes the Nextcloud server unresponsive — security-advisories 4.3 Medium 2023-10-16
CVE-2023-40180 Denial of service vulnerability in silverstripe-graphql via recursive queries — silverstripe-graphql 7.5 High 2023-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 High 2023-10-14

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