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-9784 Undertow: undertow madeyoureset http/2 ddos vulnerability 7.5 High2025-09-02
CVE-2024-58259 Rancher affected by unauthenticated Denial of Service — rancher 8.2 High2025-09-02
CVE-2025-30261 Qsync Central — Qsync Central 5.8 -2025-08-29
CVE-2025-30260 Qsync Central — Qsync Central 5.8 -2025-08-29
CVE-2025-29900 File Station 5 — File Station 5 5.0 -2025-08-29
CVE-2025-29899 File Station 5 — File Station 5 5.0 -2025-08-29
CVE-2025-29890 File Station 5 — File Station 5 5.0 -2025-08-29
CVE-2025-58058 github.com/ulikunitz/xz leaks memory when decoding a corrupted multiple LZMA archives — xz 5.3 Medium2025-08-28
CVE-2025-6203 Vault unauthenticated denial of service through complex json payload — Vault 7.5 High2025-08-28
CVE-2025-3601 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-08-27
CVE-2025-4225 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 5.3 Medium2025-08-27
CVE-2025-43762 Liferay Portal和Liferay DXP 安全漏洞 — Portal 8.1AIHighAI2025-08-22
CVE-2025-43752 Liferay Portal和Liferay DXP 安全漏洞 — Portal 8.8AIHighAI2025-08-22
CVE-2025-4437 Cri-o: large /etc/passwd file may lead to denial of service — Red Hat OpenShift Container Platform 4 5.7 Medium2025-08-20
CVE-2025-36047 IBM WebSphere Application Server Liberty denial of service — WebSphere Application Server Liberty 5.3 Medium2025-08-14
CVE-2025-55199 Helm Charts with Specific JSON Schema Values Can Cause Memory Exhaustion — helm 6.5 Medium2025-08-13
CVE-2025-1477 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-08-13
CVE-2025-2614 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-08-13
CVE-2025-54500 HTTP/2 Vulnerability — BIG-IP 5.3 Medium2025-08-13
CVE-2025-55163 Netty MadeYouReset HTTP/2 DDoS Vulnerability — netty 7.5AIHighAI2025-08-13
CVE-2025-8916 Possible DOS in processing large name constraint structures in PKIXCertPathReveiwer — BC Java 7.5 -2025-08-13
CVE-2025-50172 DirectX Graphics Kernel Denial of Service Vulnerability — Windows 10 Version 1809 6.5 Medium2025-08-12
CVE-2025-40570 Siemens多款产品 安全漏洞 — SIPROTEC 5 6MD84 (CP300) 2.4 Low2025-08-12
CVE-2025-43736 Liferay Portal和Liferay DXP 安全漏洞 — Portal 7.5AIHighAI2025-08-12
CVE-2025-8885 Possible DOS in processing specially formed ASN.1 Object Identifiers — BC Java 7.5 -2025-08-12
CVE-2025-54879 Mastodon e‑mail throttle misconfiguration allows unlimited email confirmations against unconfirmed emails — mastodon 5.3 Medium2025-08-05
CVE-2025-54869 FPDI is Vulnerable to Memory Exhaustion (OOM) through its PDF Parser — FPDI 7.5AIHighAI2025-08-05
CVE-2025-8537 Axiomatic Bento4 mp4decrypt Mp4Decrypt.cpp SetDataSize allocation of resources — Bento4 3.7 Low2025-08-05
CVE-2025-48074 OpenEXR's Unbounded File Header Values can Lead to Out-Of-Memory Errors — openexr 6.5 -2025-08-01
CVE-2025-54939 Litespeed Technologie LiteSpeed QUIC 安全漏洞 — LSQUIC 5.3 Medium2025-08-01

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