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-2023-45129 matrix-synapse vulnerable to denial of service due to malicious server ACL events — synapse 4.9 Medium2023-10-10
CVE-2023-40542 BIG-IP TCP Profile vulnerability — BIG-IP 7.5 High2023-10-10
CVE-2023-25822 ReportPortal DoS vulnerability on creating a Launch with too many recursively nested elements — reportportal 6.3 Medium2023-10-09
CVE-2023-3967 DoS Vulnerability in Hitachi Ops Center Common Services — Hitachi Ops Center Common Services 5.3 Medium2023-10-03
CVE-2023-5289 Allocation of Resources Without Limits or Throttling in ikus060/rdiffweb — ikus060/rdiffweb 7.5 -2023-09-29
CVE-2023-20033 Cisco IOS XE Software 安全漏洞 — Cisco IOS XE Software 8.6 High2023-09-27
CVE-2023-43642 Missing upper bound check on chunk length in snappy-java — snappy-java 7.5 High2023-09-25
CVE-2023-37279 Faktory Web Dashboard can lead to denial of service(DOS) via malicious user input — faktory 7.5 High2023-09-20
CVE-2022-47562 Allocation of Resources Without Limits or Throttling in Ormazabal products — ekorCCP 7.5 High2023-09-20
CVE-2023-32186 RKE2 安全漏洞 — RKE2 7.5 High2023-09-19
CVE-2023-32187 SUSE Rancher K3s 安全漏洞 — k3s 7.5 High2023-09-18
CVE-2023-40019 FreeSWITCH allows authorized users to cause a denial of service attack by sending re-INVITE with SDP containing duplicate codec names — freeswitch 7.5 High2023-09-15
CVE-2023-41043 Discourse DoS via SvgSprite cache — discourse 6.5 Medium2023-09-15
CVE-2023-41042 Discourse DoS via remote theme assets — discourse 4.9 Medium2023-09-15
CVE-2023-40588 Discourse DoS via 2FA and Security Key Names — discourse 6.5 Medium2023-09-15
CVE-2023-38706 Discourse vulnerable to DoS via drafts — discourse 6.5 Medium2023-09-15
CVE-2023-38507 Strapi Improper Rate Limiting vulnerability — strapi 7.3 High2023-09-15
CVE-2023-34994 Open Automation Software OAS Platform 安全漏洞 — OAS Platform 3.1 Low2023-09-05
CVE-2023-4647 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 5.3 Medium2023-09-01
CVE-2023-40710 OPTO 22 SNAP PAC S1 资源管理错误漏洞 — SNAP PAC S1 6.8 Medium2023-08-24
CVE-2023-40709 Uncontrolled Resource Consumption in OPTO 22 SNAP PAC S1 Built-In Web Server — SNAP PAC S1 6.8 Medium2023-08-24
CVE-2023-39533 libp2p nodes vulnerable to attack using large RSA keys — go-libp2p 7.5 High2023-08-08
CVE-2023-39269 Siemens RUGGEDCOM 安全漏洞 — RUGGEDCOM i800 7.5 High2023-08-08
CVE-2023-38532 Siemens Parasolid 安全漏洞 — Parasolid V34.1 3.3 Low2023-08-08
CVE-2023-4138 Allocation of Resources Without Limits or Throttling in ikus060/rdiffweb — ikus060/rdiffweb 7.5 -2023-08-03
CVE-2023-4011 Allocation of Resources Without Limits or Throttling in GitLab — GitLab 4.3 Medium2023-08-02
CVE-2023-38684 Discourse vulnerable to ossible DDoS due to unbounded limits in various controller actions — discourse 5.3 Medium2023-07-28
CVE-2023-37906 Discourse vulnerable to DoS via post edit reason — discourse 4.3 Medium2023-07-28
CVE-2023-38492 Kirby vulnerable to denial of service from unlimited password lengths — kirby 5.3 Medium2023-07-27
CVE-2023-3242 B&R Industrial Automation GmbH Runtime 安全漏洞 — B&R Automation Runtime 8.6 High2023-07-26

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