目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CWE-770 不加限制或调节的资源分配 类漏洞列表 1110

CWE-770 不加限制或调节的资源分配 类弱点 1110 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-770 属于资源管理缺陷,指系统在分配可复用资源时未实施限制或节流措施。攻击者通常通过发送大量请求耗尽系统资源,导致拒绝服务或性能瘫痪。开发者应通过设置并发上限、实施速率限制及监控资源使用率来缓解风险,确保关键资源分配受到严格管控,防止恶意滥用。

MITRE CWE 官方描述
CWE:CWE-770 未限制或未节流地分配资源(Allocation of Resources Without Limits or Throttling) 英文:产品代表某个行为者(actor)分配可重用资源或一组资源时,未对可分配资源的大小或数量施加任何预期的限制。
常见影响 (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.
缓解措施 (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.
代码示例 (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 ID标题CVSS风险等级Published
CVE-2023-34994 Open Automation Software OAS Platform 安全漏洞 — OAS Platform 3.1 Low2023-09-05
CVE-2023-4647 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 OPTO 22 SNAP PAC S1 资源管理错误漏洞 — SNAP PAC S1 6.8 Medium2023-08-24
CVE-2023-39533 go-libp2p 安全漏洞 — 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 Rdiffweb 安全漏洞 — ikus060/rdiffweb 7.5 -2023-08-03
CVE-2023-4011 GitLab 安全漏洞 — GitLab 4.3 Medium2023-08-02
CVE-2023-38684 Discourse 安全漏洞 — discourse 5.3 Medium2023-07-28
CVE-2023-37906 Discourse 安全漏洞 — discourse 4.3 Medium2023-07-28
CVE-2023-38492 Kirby 安全漏洞 — kirby 5.3 Medium2023-07-27
CVE-2023-3242 B&R Industrial Automation GmbH Runtime 安全漏洞 — B&R Automation Runtime 8.6 High2023-07-26
CVE-2023-32481 Dell Wyse Management Suite 安全漏洞 — Wyse Management Suite 4.9 Medium2023-07-20
CVE-2023-36521 Siemens SIMATIC 安全漏洞 — SIMATIC MV540 H 8.6 High2023-07-11
CVE-2023-27540 IBM Cloud Pak for Data 安全漏洞 — Watson CP4D Data Stores 5.9 Medium2023-07-10
CVE-2023-3566 wallabag 安全漏洞 — wallabag 3.5 Low2023-07-08
CVE-2023-36461 Mastodon 安全漏洞 — mastodon 7.5 High2023-07-06
CVE-2023-36814 Zope Products.CMFCore 安全漏洞 — Products.CMFCore 7.5 High2023-07-03
CVE-2023-34455 Snappy 输入验证错误漏洞 — snappy-java 7.5 High2023-06-15
CVE-2023-34396 Apache Struts 安全漏洞 — Apache Struts 4.3 Medium2023-06-14
CVE-2023-34149 Apache Struts 安全漏洞 — Apache Struts 4.3 Medium2023-06-14
CVE-2023-0121 GitLab 资源管理错误漏洞 — GitLab 6.5 Medium2023-06-07
CVE-2023-0921 GitLab 资源管理错误漏洞 — GitLab 4.3 Medium2023-06-06
CVE-2023-32699 MeterSphere 安全漏洞 — metersphere 6.5 Medium2023-05-30
CVE-2023-2666 Froxlor 安全漏洞 — froxlor/froxlor 8.1 -2023-05-12
CVE-2023-30551 Rekor 安全漏洞 — rekor 7.5 High2023-05-08
CVE-2023-27556 IBM Safer Payments 安全漏洞 — Safer Payments 6.5 Medium2023-04-28
CVE-2023-0383 M-Files 资源管理错误漏洞 — M-Files Server 7.5 High2023-04-20
CVE-2022-43768 Siemens SIMATIC CP443-1 OPC UA9 安全漏洞 — SIMATIC CP 1242-7 V2 7.5 High2023-04-11

CWE-770(不加限制或调节的资源分配) 是常见的弱点类别,本平台收录该类弱点关联的 1110 条 CVE 漏洞。