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-29185 Denial of Service (DOS) in SAP NetWeaver AS for ABAP (Business Server Pages) — NetWeaver AS for ABAP (Business Server Pages) 5.3 Medium 2023-04-11
CVE-2023-28763 Denial of Service in SAP NetWeaver AS for ABAP and ABAP Platform — NetWeaver AS for ABAP and ABAP Platform 6.5 Medium 2023-04-11
CVE-2023-20051 Cisco Packet Data Network Gateway IPsec ICMP Denial of Service Vulnerability — Cisco ASR 5000 Series Software 5.8 Medium 2023-04-05
CVE-2023-28837 Wagtail vulnerable to denial-of-service via memory exhaustion when uploading large files — wagtail 4.9 Medium 2023-04-03
CVE-2023-24824 Quadratic complexity may lead to a denial of service in cmark-gfm — cmark-gfm 5.3 Medium 2023-03-31
CVE-2023-26485 Quadratic complexity may lead to a denial of service in cmark-gfm — cmark-gfm 5.3 Medium 2023-03-31
CVE-2022-4899 Zstandard 资源管理错误漏洞 — zstd 6.2 - 2023-03-31
CVE-2023-28846 Denial of Service in unpoly-rails — unpoly-rails 5.9 Medium 2023-03-30
CVE-2023-28644 Reference fetch can saturate the server bandwidth for 10 seconds in nextcloud server — security-advisories 5.7 Medium 2023-03-30
CVE-2023-28507 Memory exhaustion in LZ4 decompression in UniRPC daemon — UniData 9.1 - 2023-03-29
CVE-2023-28626 Quadratic runtime when parsing Markdown in comrak — comrak 5.3 Medium 2023-03-28
CVE-2023-1654 Denial of Service in gpac/gpac — gpac/gpac 5.5 - 2023-03-27
CVE-2023-0056 Haproxy 资源管理错误漏洞 — haproxy 6.5 - 2023-03-23
CVE-2023-1605 Denial of Service in radareorg/radare2 — radareorg/radare2 6.2 - 2023-03-23
CVE-2023-23396 Microsoft Excel Denial of Service Vulnerability — Microsoft Office Online Server 6.5 Medium 2023-03-14
CVE-2023-27270 Denial of Service (DoS) in SAP NetWeaver AS for ABAP and ABAP Platform — NetWeaver Application Server for ABAP and ABAP Platform 6.5 Medium 2023-03-14
CVE-2023-25618 Denial of Service (DoS) vulnerability in SAP NetWeaver AS for ABAP and ABAP Platform — NetWeaver AS for ABAP and ABAP Platform 6.5 Medium 2023-03-14
CVE-2023-27530 rubygem-rack 安全漏洞 — https://github.com/rack/rack 7.5 - 2023-03-10
CVE-2023-27484 Unchecked fieldpath index in Composition's patches can lead to arbitrary memory allocation in crossplane — crossplane 6.2 Medium 2023-03-09
CVE-2023-27483 fieldpath's Paved.SetValue allows growing arrays up to arbitrary sizes in crossplane-runtime — crossplane-runtime 5.9 Medium 2023-03-09
CVE-2022-41333 Fortinet FortiRecorder 资源管理错误漏洞 — FortiRecorder 6.8 High 2023-03-07
CVE-2021-36395 Moodle 安全漏洞 — Moodle 7.5 - 2023-03-06
CVE-2022-3277 OpenStack 资源管理错误漏洞 — openstack-neutron 6.5 - 2023-03-06
CVE-2023-26470 In XWiki Platform, saving a document with a large object number leads to persistent OOM errors — xwiki-platform 5.7 Medium 2023-03-02
CVE-2023-23689 Dell PowerScale OneFS 资源管理错误漏洞 — PowerScale OneFS 5.3 Medium 2023-02-28
CVE-2023-26104 lite-web-server 资源管理错误漏洞 — lite-web-server 7.5 High 2023-02-25
CVE-2023-25816 nextcloud vulnerable to Uncontrolled Resource Consumption — security-advisories 4.3 Medium 2023-02-24
CVE-2023-0662 DoS vulnerability when parsing multipart request body — PHP 7.5 High 2023-02-16
CVE-2023-23625 Denial of service in HAMT Decoding in go-unixfs — go-unixfs 5.9 Medium 2023-02-09
CVE-2023-23631 HAMT Decoding Panics in github.com/ipfs/go-unixfsnode — go-unixfsnode 5.9 Medium 2023-02-09

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