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-2024-20716 Force high-usage of resources by generating unlimited coupons: Adobe Commerce — Adobe Commerce 4.9 Medium 2024-02-15
CVE-2024-25617 Denial of Service in HTTP Header parser in squid proxy — squid 5.3 Medium 2024-02-14
CVE-2024-23952 Apache Superset: Allows for uncontrolled resource consumption via a ZIP bomb (version range fix for CVE-2023-46104) — Apache Superset 6.5 Medium 2024-02-14
CVE-2024-24814 Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc — mod_auth_openidc 7.5 High 2024-02-13
CVE-2024-21342 Windows DNS Client Denial of Service Vulnerability — Windows 11 version 22H2 7.5 High 2024-02-13
CVE-2024-21386 .NET Denial of Service Vulnerability — ASP.NET Core 6.0 7.5 High 2024-02-13
CVE-2024-24781 Hima: Uncontrolled Resource Consumption in multiple products — F30 03X YY (COM) 7.5 High 2024-02-13
CVE-2024-1309 Resource Consumption Identified in NTP before 4.2.4p8 and 4.2.5 — Niagara Framework 6.5 Medium 2024-02-13
CVE-2024-25112 Denial of service due to unbounded recursion in QuickTimeVideo::multipleEntriesDecoder in Exiv2 — exiv2 5.5 Medium 2024-02-12
CVE-2023-6681 Jwcrypto: denail of service via specifically crafted jwe — Red Hat Enterprise Linux 8 5.3 Medium 2024-02-12
CVE-2023-41707 Open-Xchange App Suite 安全漏洞 — OX App Suite 6.5 Medium 2024-02-12
CVE-2023-41706 Open-Xchange App Suite 安全漏洞 — OX App Suite 6.5 Medium 2024-02-12
CVE-2023-41705 Open-Xchange App Suite 安全漏洞 — OX App Suite 6.5 Medium 2024-02-12
CVE-2024-23323 Excessive CPU usage when URI template matcher is configured using regex in Envoy — envoy 4.3 Medium 2024-02-09
CVE-2024-1402 Denial of service in mattermost mobile apps and server via emoji reactions — Mattermost 4.3 Medium 2024-02-09
CVE-2024-0842 Backuply - Backup, Restore, Migrate and Clone <= 1.2.6 - Denial of Service — Backuply – Backup, Restore, Migrate and Clone 7.5 High 2024-02-09
CVE-2023-32341 IBM Sterling B2B Integrator denial of service — Sterling B2B Integrator 6.5 Medium 2024-02-09
CVE-2024-22332 IBM Integration Bus for z/OS denial of service — Integration Bus for z/OS 6.5 Medium 2024-02-09
CVE-2024-24575 libgit2 is vulnerable to a denial of service attack in `git_revparse_single` — libgit2 7.5 High 2024-02-06
CVE-2024-24943 JetBrains Toolbox 安全漏洞 — Toolbox App 5.3 Medium 2024-02-06
CVE-2024-24762 python-multipart vulnerable to content-type header Regular expression Denial of Service — python-multipart 7.5 High 2024-02-05
CVE-2023-31006 IBM Security Access Manager Container denial of service — Security Verify Access Appliance 6.5 Medium 2024-02-03
CVE-2023-30999 IBM Security Access Manager denial of service — Security Verify Access Appliance 7.5 High 2024-02-03
CVE-2023-45028 QTS, QuTS hero, QuTScloud — QTS 5.5 Medium 2024-02-02
CVE-2024-23824 mailcow ipixel flood attack leads to Denial of Service in admin page — mailcow-dockerized 4.7 Medium 2024-02-02
CVE-2024-24752 Bref Uploaded Files Not Deleted in Event-Driven Functions — bref 6.5 Medium 2024-02-01
CVE-2024-1014 Uncontrolled resource consumption vulnerability in SE-elektronic GmbH E-DDC3.3 — E-DDC3.3 6.2 Medium 2024-01-29
CVE-2023-6450 Lenovo App Store 资源管理错误漏洞 — Lenovo App Store Application 5.5 Medium 2024-01-19
CVE-2024-0581 Uncontrolled Resource Consumption vulnerability on Sandsprite scdbg — Scdbg 4.0 Medium 2024-01-16
CVE-2023-52098 Huawei HarmonyOS 安全漏洞 — HarmonyOS 7.5AI High AI 2024-01-16

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