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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2093 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-2024-23450 Elasticsearch Uncontrolled Resource Consumption vulnerability — Elasticsearch 4.9 Medium 2024-03-27
CVE-2023-47150 IBM Common Cryptographic Architecture denial of service — Common Cryptographic Architecture 7.5 High 2024-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 High 2024-03-22
CVE-2024-29186 Slow String Operations via MultiPart Requests in Event-Driven Functions — bref 5.3 Medium 2024-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 Medium 2024-03-21
CVE-2023-49837 WordPress embed-code plugin <= 2.3.6 - Denial of Service Attack vulnerability — Code Embed 6.5 Medium 2024-03-21
CVE-2024-27085 Denial of service through invites in Discourse — discourse 6.5 Medium 2024-03-15
CVE-2024-27100 Denial of service via Staff Actions in Discourse — discourse 6.5 Medium 2024-03-15
CVE-2024-24827 No rate limits on POST /uploads endpoint in Discourse — discourse 5.3 Medium 2024-03-15
CVE-2024-28854 Slow loris vulnerability with default configuration in tls-listener — tls-listener 7.5 High 2024-03-15
CVE-2024-2446 Mattermost 安全漏洞 — Mattermost 4.3 Medium 2024-03-15
CVE-2024-28053 Resource Exhaustion via the Invitation Feature — Mattermost 3.1 Low 2024-03-15
CVE-2024-24975 Denial of Service for mobile app users due to automatic code highlighting — Mattermost Mobile 3.5 Low 2024-03-15
CVE-2024-1410 Unbounded storage of information related to connection ID retirement, in quiche — quiche 3.7 Low 2024-03-12
CVE-2024-1765 Unlimited resource allocation by QUIC CRYPTO frames flooding in quiche — quiche 5.9 Medium 2024-03-12
CVE-2024-26190 Microsoft QUIC Denial of Service Vulnerability — Microsoft Visual Studio 2022 version 17.9 7.5 High 2024-03-12
CVE-2024-21392 .NET and Visual Studio Denial of Service Vulnerability — Microsoft Visual Studio 2022 version 17.9 7.5 High 2024-03-12
CVE-2024-28122 JWX vulnerable to a denial of service attack using compressed JWE message — jwx 6.8 Medium 2024-03-09
CVE-2024-28176 jose vulnerable to resource exhaustion via specifically crafted JWE with compressed plaintext — jose 4.9 Medium 2024-03-09
CVE-2022-43880 IBM QRadar WinCollect Agent — QRadar WinCollect Agent 4.4 Medium 2024-03-03
CVE-2024-1953 Mattermost 安全漏洞 — Mattermost 4.3 Medium 2024-02-29
CVE-2024-24988 Excessive resource consumption when sending long emoji names in user custom status — Mattermost 4.3 Medium 2024-02-29
CVE-2024-26141 Possible DoS Vulnerability with Range Header in Rack — rack 5.8 Medium 2024-02-28
CVE-2024-20344 Cisco UCS 6400 Series Fabric Interconnects 安全漏洞 — Cisco Unified Computing System (Managed) 5.3 Medium 2024-02-28
CVE-2024-20321 Cisco NX-OS Software 安全漏洞 — Cisco NX-OS Software 8.6 High 2024-02-28
CVE-2024-27088 es5-ext Regular Expression Denial of Service in `function#copy` and `function#toStringTokens` — es5-ext - - 2024-02-26
CVE-2024-22201 Jetty connection leaking on idle timeout when TCP congested — jetty.project 7.5 High 2024-02-26
CVE-2024-23835 Suricata's pgsql: memory exhaustion use on record parsing — suricata 7.5 High 2024-02-26
CVE-2024-1635 Undertow: out-of-memory error after several closed connections with wildfly-http-client protocol 7.5 High 2024-02-19
CVE-2024-25978 Msa-24-0001: denial of service risk in file picker unzip functionality 7.5 High 2024-02-19

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