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-2022-44572 rubygem-rack 安全漏洞 — https://github.com/rack/rack 7.5 -2023-02-09
CVE-2023-22792 rubygem-actionpack 安全漏洞 — https://github.com/rails/rails 7.5 -2023-02-09
CVE-2023-22796 rubygem-activesupport 安全漏洞 — https://github.com/rails/rails 7.5 -2023-02-09
CVE-2023-22799 rubygem-globalid 安全漏洞 — https://github.com/rails/globalid 7.5 -2023-02-09
CVE-2023-25151 DoS vulnerability for high cardinality metrics in opentelemetry-go-contrib — opentelemetry-go-contrib 7.5 High2023-02-08
CVE-2023-24574 Dell Enterprise SONiC OS 资源管理错误漏洞 — Enterprise SONiC OS 7.5 High2023-02-02
CVE-2023-23552 BIG-IP Advanced WAF and ASM vulnerability — BIG-IP 7.5 High2023-02-01
CVE-2023-22664 BIG-IP HTTP/2 profile vulnerability — BIG-IP 7.5 High2023-02-01
CVE-2023-23616 Discourse membership requests lack character limit — discourse 3.5 Low2023-01-27
CVE-2023-22486 cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service — cmark-gfm 3.5 Low2023-01-24
CVE-2021-28510 For certain systems running EOS, a Precision Time Protocol (PTP) packet of a management/signaling message with an invalid Type-Length-Value (TLV) causes the PTP agent to restart. Repeated restarts of the service will make the service unavailable. — EOS 5.3 Medium2023-01-24
CVE-2022-27507 Authenticated denial of service — Citrix Application Delivery Controller (Citrix ADC) and Citrix Gateway 6.5 -2023-01-24
CVE-2022-27508 Unauthenticated denial of service — Citrix Application Delivery Controller (Citrix ADC) and Citrix Gateway 7.5 -2023-01-24
CVE-2023-22484 Inefficient Quadratic complexity bug in handle_pointy_brace may lead to a denial of service — cmark-gfm 3.5 Low2023-01-23
CVE-2023-22483 cmark-gfm Quadratic complexity bugs may lead to a denial of service — cmark-gfm 3.5 Low2023-01-23
CVE-2022-4816 Lenovo Safecenter 安全漏洞 — Safecenter 6.2 Medium2023-01-23
CVE-2023-20047 Cisco Webex 安全漏洞 — Cisco Webex Room Phone 6.5 Medium2023-01-19
CVE-2022-41861 SUSE Linux Enterprise Server 输入验证错误漏洞 — freeradius 6.5 -2023-01-17
CVE-2023-22470 Nextcloud Deck vulnerable to uncontrolled resource consumption — security-advisories 3.5 Low2023-01-14
CVE-2023-22396 Junos OS: Receipt of crafted TCP packets destined to the device results in MBUF leak leading to a Denial of Service (DoS) — Junos OS 7.5 High2023-01-12
CVE-2023-22400 Junos OS Evolved: A specific SNMP GET operation and a specific CLI commands cause resources to leak and eventually the evo-pfemand process will crash — Junos OS Evolved 7.5 High2023-01-12
CVE-2022-34335 IBM Sterling Partner Engagement Manager denial of service — Sterling Partner Engagement Manager 6.5 Medium2023-01-11
CVE-2023-21728 Windows Netlogon Denial of Service Vulnerability — Windows 10 Version 1809 7.5 High2023-01-10
CVE-2023-21543 Windows Layer 2 Tunneling Protocol (L2TP) Remote Code Execution Vulnerability — Windows 10 Version 1809 8.1 High2023-01-10
CVE-2021-32821 Regular expression Denial of Service in MooTools — mootools-core 6.2 Medium2023-01-03
CVE-2022-4767 Denial of Service in usememos/memos — usememos/memos 7.5 -2022-12-27
CVE-2020-26302 is.js 资源管理错误漏洞 — is.js 7.5 High2022-12-23
CVE-2022-39164 IBM AIX denial of service — AIX 6.2 Medium2022-12-23
CVE-2022-39165 IBM AIX denial of service — AIX 6.2 Medium2022-12-23
CVE-2020-36620 Brondahl EnumStringValues EnumExtensions.cs GetStringValuesWithPreferences_Uncache resource consumption — EnumStringValues 3.5 Low2022-12-21

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