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-38251 Adobe Commerce | Uncontrolled Resource Consumption (CWE-400) — Adobe Commerce 5.3 Medium 2023-10-13
CVE-2023-36841 Junos OS: MX Series: Receipt of malformed TCP traffic will cause a Denial of Service — Junos OS 7.5 High 2023-10-12
CVE-2023-27314 Denial of Service Vulnerability in ONTAP 9 — ONTAP 9 7.5 High 2023-10-12
CVE-2023-25774 SoftEther VPN 资源管理错误漏洞 — SoftEther VPN 7.5 High 2023-10-12
CVE-2023-36431 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1809 7.5 High 2023-10-10
CVE-2023-36435 Microsoft QUIC Denial of Service Vulnerability — PowerShell 7.3 7.5 High 2023-10-10
CVE-2023-36579 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1809 7.5 High 2023-10-10
CVE-2023-36606 Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability — Windows 10 Version 1809 7.5 High 2023-10-10
CVE-2023-36703 DHCP Server Service Denial of Service Vulnerability — Windows Server 2019 7.5 High 2023-10-10
CVE-2023-43786 Libx11: stack exhaustion from infinite recursion in putsubimage() 5.5 Medium 2023-10-10
CVE-2023-37195 Siemens SIMATIC 多款产品资源管理错误漏洞 — SIMATIC CP 1604 4.4 Medium 2023-10-10
CVE-2023-5333 Denial of Service via multiple identical User IDs in /api/v4/users/ids — Mattermost 4.3 Medium 2023-10-09
CVE-2023-5330 Denial of Service via Opengraph Data Cache — Mattermost 4.3 Medium 2023-10-09
CVE-2023-43810 opentelemetry-instrumentation Denial of Service vulnerability due to unbound cardinality metrics — opentelemetry-python-contrib 7.5 High 2023-10-06
CVE-2023-20259 Cisco 多款产品安全漏洞 — Cisco Emergency Responder 8.6 High 2023-10-04
CVE-2023-3153 Service monitor mac flow is not rate limited — ovn 5.3 Medium 2023-10-04
CVE-2023-26151 asyncua 安全漏洞 — asyncua 5.3 Medium 2023-10-03
CVE-2023-5196 DoS via Channel Notification Properties — Mattermost 6.5 Medium 2023-09-29
CVE-2023-20176 Cisco Access Point 资源管理错误漏洞 — Cisco Aironet Access Point Software 5.8 Medium 2023-09-27
CVE-2023-20268 Cisco Access Point Software Uncontrolled Resource Consumption Vulnerability — Cisco Aironet Access Point Software 4.7 Medium 2023-09-27
CVE-2023-43646 Inefficient Regular Expression Complexity in get-func-name — get-func-name 8.6 High 2023-09-26
CVE-2023-43775 Security issue in SMP Gateway automation platform — SMP SG-4260 4.7 Medium 2023-09-26
CVE-2023-5157 Mariadb: node crashes with transport endpoint is not connected mysqld got signal 6 — Red Hat Enterprise Linux 8 7.5 High 2023-09-26
CVE-2023-42457 plone.rest vulnerable to Denial of Service when ++api++ is used many times — plone.rest 7.5 High 2023-09-21
CVE-2023-26144 GraphQL.js 资源管理错误漏洞 — graphql 5.3 Medium 2023-09-20
CVE-2022-47556 Uncontrolled Resource Consumption in Ormazabal products — ekorRCI 6.5 Medium 2023-09-19
CVE-2023-32636 glib2 资源管理错误漏洞 — glib 4.7 Medium 2023-09-14
CVE-2023-32611 G_variant_byteswap() can take a long time with some non-normal inputs — glib2 5.5 Medium 2023-09-14
CVE-2023-29499 Gvariant offset table entry size is not checked in is_normal() — glib2 5.5 Medium 2023-09-14
CVE-2023-32665 Gvariant deserialisation does not match spec for non-normal data — glib2 5.5 Medium 2023-09-14

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