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-2024-57972 Microsoft HoloLens 安全漏洞 — HoloLens 6.5 Medium2025-03-06
CVE-2025-27513 OpenTelemetry .NET has a Denial of Service (DoS) Vulnerability in API Package — opentelemetry-dotnet 7.5 High2025-03-05
CVE-2025-27419 Denial of Service (DoS) in WeGIA due to Recursive Crawling of Dynamic URLs — WeGIA 7.5 -2025-03-03
CVE-2025-27219 Ruby 安全漏洞 — CGI 5.8 Medium2025-03-03
CVE-2025-26466 Openssh: denial-of-service in openssh 5.9 Medium2025-02-28
CVE-2025-22273 Lack of rate-limiting in password change mechanism in CyberArk Endpoint Privilege Manager — Endpoint Privilege Manager 9.8 -2025-02-28
CVE-2025-27157 Mastodon's rate-limits are missing on `/auth/setup` — mastodon 5.3 Medium2025-02-27
CVE-2025-27144 Go JOSE's Parsing Vulnerable to Denial of Service — go-jose 7.5 -2025-02-24
CVE-2024-49589 Foundry artifacts denial of service — com.palantir.artifacts:artifacts 6.5 Medium2025-02-18
CVE-2025-26819 Monero 安全漏洞 — Monero 8.6 High2025-02-14
CVE-2025-1059 Schneider Electric ASCO 5310 安全漏洞 — ASCO 5310 Single-Channel Remote Annunciator 7.5 High2025-02-13
CVE-2024-12379 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-02-12
CVE-2025-1072 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-02-07
CVE-2024-37358 Apache James: denial of service through the use of IMAP literals — Apache James server 8.6 High2025-02-06
CVE-2024-38316 IBM Aspera Shares Denial of Service — Aspera Shares 4.3 Medium2025-02-05
CVE-2025-24312 BIG-IP AFM vulnerability — BIG-IP 7.5 High2025-02-05
CVE-2024-2878 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 7.5 High2025-02-05
CVE-2023-6386 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 6.5 Medium2025-02-05
CVE-2024-12705 DNS-over-HTTPS implementation suffers from multiple issues under heavy query load — BIND 9 7.5 High2025-01-29
CVE-2025-0695 frozen 安全漏洞 — Frozen 5.3 Medium2025-01-27
CVE-2025-24033 @fastify/multipart vulnerable to unlimited consumption of resources — fastify-multipart 7.5 High2025-01-23
CVE-2025-0635 Denial of Service condition in M-Files Server — M-Files Server 7.5 -2025-01-23
CVE-2024-43708 Elastic Kibana 安全漏洞 — Kibana 6.5 Medium2025-01-23
CVE-2024-52972 Kibana allocation of resources without limits or throttling leads to crash — Kibana 6.5 Medium2025-01-23
CVE-2025-23028 DoS in Cilium agent DNS proxy from crafted DNS responses — cilium 5.3 Medium2025-01-22
CVE-2024-52973 Kibana allocation of resources without limits or throttling leads to crash — Kibana 6.5 Medium2025-01-21
CVE-2024-43709 Elasticsearch allocation of resources without limits or throttling leads to crash — Elasticsearch 6.5 Medium2025-01-21
CVE-2024-41742 IBM TXSeries for Multiplatforms denial of service — TXSeries for Multiplatforms 7.5 High2025-01-19
CVE-2024-41743 IBM TXSeries for Multiplatforms denial of service — TXSeries for Multiplatforms 7.5 High2025-01-19
CVE-2024-45662 IBM Safer Payments denial of service — Safer Payments 7.5 High2025-01-18

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