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-23524 Helm vulnerable to Denial of service through string value parsing — helm 5.3 Medium2022-12-15
CVE-2022-45044 Siemens SIPROTEC 5 资源管理错误漏洞 — SIPROTEC 5 6MD84 (CP300) 5.3 Medium2022-12-13
CVE-2022-46351 Siemens SCALANCE Series 资源管理错误漏洞 — SCALANCE X204RNA (HSR) 7.5 -2022-12-13
CVE-2022-46352 Siemens SCALANCE Series 资源管理错误漏洞 — SCALANCE X204RNA (HSR) 7.5 -2022-12-13
CVE-2022-23492 go-libp2p denial of service vulnerability from lack of resource management — go-libp2p 7.5 High2022-12-08
CVE-2022-23471 containerd CRI stream server: Host memory exhaustion through terminal resize goroutine leak — containerd 5.7 Medium2022-12-07
CVE-2022-23487 libp2p denial of service vulnerability from lack of resource management — js-libp2p 7.5 High2022-12-07
CVE-2022-23486 libp2p-rust denial of service vulnerability from lack of resource management — rust-libp2p 7.5 High2022-12-07
CVE-2022-20691 Cisco ATA 190 资源管理错误漏洞 — Cisco Analog Telephone Adaptor (ATA) Software 5.3 Medium2022-12-07
CVE-2022-30122 RubyGem Rack 资源管理错误漏洞 — https://github.com/rack/rack 7.5 -2022-12-05
CVE-2022-41969 Nextcloud Server has no password length limit when creating a user as an administrator — security-advisories 2.4 Low2022-12-01
CVE-2022-41968 Nextcloud Server's calendar name length not validated before writing to database — security-advisories 3.5 Low2022-12-01
CVE-2022-39346 Missing length validation of user displayname in nextcloud server — security-advisories 3.5 Low2022-11-25
CVE-2022-41932 Creation of new database tables through login form on PostgreSQL — xwiki-platform 7.5 High2022-11-23
CVE-2022-41952 Uncontrolled Resource Consumption in Matrix Synapse — synapse 6.5 Medium2022-11-22
CVE-2022-4006 WBCE CMS Header class.login.php increase_attempts excessive authentication — CMS 3.7 Low2022-11-15
CVE-2022-20854 Cisco Firepower Management Center和Firepower Threat Defense 资源管理错误漏洞 — Cisco Firepower Management Center 7.5 High2022-11-10
CVE-2022-43572 Indexing blockage via malformed data sent through S2S or HEC protocols in Splunk Enterprise — Splunk Enterprise 7.5 High2022-11-04
CVE-2022-43564 Denial of Service in Splunk Enterprise through search macros — Splunk Enterprise 4.9 Medium2022-11-04
CVE-2022-20960 多款Cisco产品信任管理问题漏洞 — Cisco Secure Email 7.5 High2022-11-03
CVE-2022-2741 can: denial-of-service can be triggered by a crafted CAN frame — zephyr 8.2 High2022-10-31
CVE-2022-39294 (DoS) Denial of Service from unchecked request length in conduit-hyper — conduit-hyper 7.5 High2022-10-31
CVE-2022-39330 Database resource exhaustion for logged-in users via sharee recommendations with circles — security-advisories 4.8 Medium2022-10-27
CVE-2022-41833 BIG-IP iRule vulnerability CVE-2022-41833 — BIG-IP 7.5 High2022-10-19
CVE-2022-41806 BIG-IP AFM NAT64 Policy Vulnerability CVE-2022-41806 — BIG-IP AFM 7.5 High2022-10-19
CVE-2022-41770 BIG-IP and BIG-IQ iControl REST vulnerability CVE-2022-41770 — BIG-IP 6.5 Medium2022-10-19
CVE-2020-15853 supybot-fedora 安全漏洞 — supybot-fedora--2022-10-18
CVE-2022-3517 minimatch 资源管理错误漏洞 — minimatch 7.5 -2022-10-17
CVE-2022-38677 UNISOC chipset 安全漏洞 — SC9863A/SC9832E/SC7731E/T610/T310/T606/T760/T610/T618/T606/T612/T616/T760/T770/T820/S8000 5.5 -2022-10-14
CVE-2022-38679 UNISOC chipset 安全漏洞 — SC9863A/SC9832E/SC7731E/T610/T310/T606/T760/T610/T618/T606/T612/T616/T760/T770/T820/S8000 5.5 -2022-10-14

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