Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-770 (不加限制或调节的资源分配) — Vulnerability Class 827

827 vulnerabilities classified as CWE-770 (不加限制或调节的资源分配). AI Chinese analysis included.

CWE-770 represents a critical resource management weakness where software allocates reusable resources, such as memory, file descriptors, or database connections, without enforcing limits or throttling mechanisms. This vulnerability typically arises when applications accept untrusted input or handle high-volume requests, allowing malicious actors to trigger excessive resource consumption. By rapidly requesting numerous resources, attackers can exhaust system capacity, leading to denial-of-service conditions that degrade performance or crash the entire service. To mitigate this risk, developers must implement strict quotas, rate limiting, and connection pooling strategies. Enforcing maximum thresholds for resource allocation ensures that no single user or process can monopolize system assets, thereby maintaining stability and availability even under heavy load or targeted abuse attempts.

MITRE CWE Description
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Common Consequences (1)
AvailabilityDoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.
Mitigations (5)
RequirementsClearly specify the minimum and maximum expectations for capabilities, and dictate which behaviors are acceptable when resource allocation reaches limits.
Architecture and DesignLimit the amount of resources that are accessible to unprivileged users. Set per-user limits for resources. Allow the system administrator to define these limits. Be careful to avoid CWE-410.
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, and it will help the administrator to identify who is committing the abuse. The login application should be protected …
ImplementationAssume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Architecture and DesignFor any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
Examples (2)
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
In the following example a server socket connection is used to accept a request to store data on the local file system using a specified filename. The method openSocketConnection establishes a server socket to accept requests from a client. When a client establishes a connection to this service the getNextMessage method is first used to retrieve from the socket the name of the file to store the da…
int writeDataFromSocketToFile(char *host, int port) { char filename[FILENAME_SIZE]; char buffer[BUFFER_SIZE]; int socket = openSocketConnection(host, port); if (socket < 0) { printf("Unable to open socket connection"); return(FAIL); } if (getNextMessage(socket, filename, FILENAME_SIZE) > 0) { if (openFileToWrite(filename) > 0) { while (getNextMessage(socket, buffer, BUFFER_SIZE) > 0){ if (!(writeToFile(buffer) > 0)) break; } } closeFile(); } closeSocket(socket); }
Bad · C
CVE IDTitleCVSSSeverityPublished
CVE-2025-29872 File Station 5 — File Station 5 5.0AIMediumAI2025-06-06
CVE-2024-58114 Huawei HarmonyOS 安全漏洞 — HarmonyOS 4.0 Medium2025-06-06
CVE-2025-49007 ReDoS Vulnerability in Rack::Multipart handle_mime_head — rack 7.5AIHighAI2025-06-04
CVE-2018-25112 PHOENIX CONTACT: ILC 1x1 ETH Denial of Service — ILC 131 7.5 High2025-06-04
CVE-2025-46807 File Descriptor Exhaustion in sslh-select and sslh-ev triggers SEGFAULT — sslh 7.5AIHighAI2025-06-02
CVE-2025-3050 IBM Db2 denial of service — Db2 for Linux, UNIX and Windows 5.3 Medium2025-05-29
CVE-2025-48375 Schule Missing Rate Limiting on OTP Email Requests – Susceptible to Abuse & DoS — Schule 8.2AIHighAI2025-05-23
CVE-2024-7803 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-05-23
CVE-2025-48738 StrangeBee TheHive 安全漏洞 — TheHive 8.2AIHighAI2025-05-23
CVE-2025-0993 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 7.5 High2025-05-22
CVE-2025-2853 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-05-22
CVE-2025-3111 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-05-22
CVE-2025-4416 Events Log Track - Moderately critical - Denial of Service - SA-CONTRIB-2025-059 — Events Log Track 6.5AIMediumAI2025-05-21
CVE-2025-47793 Nextcloud Server and Groupfolders app vulnerable to bypass of group folder quota limit using attachment in text file — security-advisories 4.3 Medium2025-05-16
CVE-2025-47287 Tornado vulnerable to excessive logging caused by malformed multipart form data — tornado 7.5 High2025-05-15
CVE-2024-8973 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-05-09
CVE-2025-4432 Ring: some aes functions may panic when overflow checking is enabled in ring 5.3 Medium2025-05-09
CVE-2025-32873 Django 安全漏洞 — Django 5.3 Medium2025-05-08
CVE-2025-36504 BIG-IP HTTP/2 vulnerability — BIG-IP 7.5 High2025-05-07
CVE-2025-0915 IBM Db2 denial of service — Db2 for Linux, UNIX and Windows 5.3 Medium2025-05-05
CVE-2025-1000 IBM Db2 denial of service — Db2 for Linux, UNIX and Windows 5.3 Medium2025-05-05
CVE-2025-32777 Volcano Scheduler Denial of Service via Unbounded Response from Elastic Service/extender Plugin — volcano 6.5AIMediumAI2025-04-30
CVE-2025-24341 Bosch Rexroth ctrlX OS 安全漏洞 — ctrlX OS - Device Admin 6.5 Medium2025-04-30
CVE-2025-30202 Data exposure via ZeroMQ on multi-node vLLM deployment — vllm 7.5 High2025-04-30
CVE-2025-46687 QuickJS 安全漏洞 — QuickJS 5.6 Medium2025-04-27
CVE-2025-30409 Acronis Cyber Protect Cloud Agent 安全漏洞 — Acronis Cyber Protect Cloud Agent 7.5 -2025-04-24
CVE-2025-0639 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-04-24
CVE-2025-35965 DoS in Mattermost Playbooks via Excessive Task Actions — Mattermost 6.5 Medium2025-04-24
CVE-2025-21605 Redis DoS Vulnerability due to unlimited growth of output buffers abused by unauthenticated client — redis 7.5 High2025-04-23
CVE-2025-32959 CUBA Vulnerable to Denial of Service (DoS) in the File Storage — cuba 6.5 Medium2025-04-22

Vulnerabilities classified as CWE-770 (不加限制或调节的资源分配) represent 827 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.