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

目标: 1000 元 · 已筹: 1336

100%

CWE-400 未加控制的资源消耗(资源穷尽) 类漏洞列表 1797

CWE-400 未加控制的资源消耗(资源穷尽) 类弱点 1797 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-400 指资源消耗不受控漏洞,属于资源管理缺陷。攻击者通常通过发送大量请求或构造复杂查询,耗尽服务器 CPU、内存或带宽,导致服务拒绝。开发者应避免此类问题,需实施严格的速率限制、请求大小校验及资源配额管理,并设置合理的超时机制与异常处理逻辑,确保有限资源在预期范围内被安全分配与维护。

MITRE CWE 官方描述
CWE:CWE-400 不受控的资源消耗 (Uncontrolled Resource Consumption) 英文:该产品未正确控制有限资源的分配和维护。
常见影响 (2)
Availability DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
If an attacker can trigger the allocation of the limited resources, but the number or size of the resources is not controlled, then the most common result is denial of service. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding envir…
Access Control, Other Bypass Protection Mechanism, Other
In some cases it may be possible to force the product to "fail open" in the event of resource exhaustion. The state of the product -- and possibly the security functionality - may then be compromised.
缓解措施 (4)
Architecture and Design Design 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. The login application should be protected against DoS attacks as much as possible. Limiting the database access, perha…
Architecture and Design Mitigation of resource exhaustion attacks requires that the target system either: recognizes the attack and denies that user further access for a given amount of time, or uniformly throttles all requests in order to make it more difficult to consume resources more quickly than they can again be freed. The first of these solutions is an issue in itself though, since it may allow attackers to preven…
Architecture and Design Ensure that protocols have specific limits of scale placed on them.
Implementation Ensure that all failures in resource allocation place the system into a safe posture.
代码示例 (2)
The following example demonstrates the weakness.
class Worker implements Executor { ... public void execute(Runnable r) { try { ... } catch (InterruptedException ie) { // postpone response Thread.currentThread().interrupt(); } } public Worker(Channel ch, int nworkers) { ... } protected void activate() { Runnable loop = new Runnable() { public void run() { try { for (;;) { Runnable r = ...; r.run(); } } catch (InterruptedException ie) { ... } } }; new Thread(loop).start(); } }
Bad · Java
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
CVE ID 标题 CVSS 风险等级 Published
CVE-2022-3147 Mattermost 资源管理错误漏洞 — Mattermost 3.1 Low 2022-09-09
CVE-2022-36083 jose 资源管理错误漏洞 — jose 5.3 Medium 2022-09-07
CVE-2022-36049 Flux2 资源管理错误漏洞 — flux2 7.7 High 2022-09-07
CVE-2022-1677 Red Hat OpenShift Container Platform 资源管理错误漏洞 — Openshift 7.6 - 2022-09-01
CVE-2020-35534 Libraw 安全漏洞 — LibRaw 5.5 - 2022-09-01
CVE-2022-36055 Helm 资源管理错误漏洞 — helm 6.5 Medium 2022-09-01
CVE-2022-2764 Red Hat Undertow 安全漏洞 — undertow 4.9 - 2022-09-01
CVE-2022-2004 AutomationDirect DirectLOGIC 资源管理错误漏洞 — DirectLOGIC D0-06 series CPUs 7.5 High 2022-08-31
CVE-2022-1325 GREYC Clmg 安全漏洞 — Clmg 5.5 - 2022-08-31
CVE-2022-1259 Red Hat Undertow 资源管理错误漏洞 — undertow 7.5 - 2022-08-31
CVE-2022-36034 nitrado.js 安全漏洞 — nitrado.js 7.5 High 2022-08-29
CVE-2022-0669 DPDK 资源管理错误漏洞 — DPDK 6.5 - 2022-08-29
CVE-2021-3669 Linux kernel资源管理错误漏洞 — kernel 5.5 - 2022-08-26
CVE-2021-4022 Rizin 资源管理错误漏洞 — rizin 5.5 - 2022-08-25
CVE-2021-42521 VTK 代码问题漏洞 — vtk 7.5 - 2022-08-25
CVE-2021-4040 Red Hat AMQ Broker 缓冲区错误漏洞 — AMQ Broker 5.3 - 2022-08-24
CVE-2021-3764 Linux kernel 安全漏洞 — Linux Kernel 5.5 - 2022-08-23
CVE-2021-3690 Red Hat JBoss Enterprise Application Platform资源管理错误漏洞 — undertow 7.5 - 2022-08-23
CVE-2021-3670 Samba ldb 安全漏洞 — samba 9.1 - 2022-08-23
CVE-2021-20298 ILM OpenEXR 缓冲区错误漏洞 — OpenEXR 7.5 - 2022-08-23
CVE-2021-3759 Linux kernel 资源管理错误漏洞 — kernel 5.5 - 2022-08-23
CVE-2022-2053 Red Hat Undertow 资源管理错误漏洞 — Undertow 7.5 - 2022-08-05
CVE-2022-35241 F5 BIG-IP 资源管理错误漏洞 — NGINX Instance Manager 6.5 Medium 2022-08-04
CVE-2022-35236 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 7.5 High 2022-08-04
CVE-2022-33203 F5 BIG-IP 资源管理错误漏洞 — BIG-IP APM 7.5 High 2022-08-04
CVE-2022-35923 v8n 安全漏洞 — v8n 7.5 High 2022-08-02
CVE-2022-35922 Rust-WebSocket 资源管理错误漏洞 — rust-websocket 7.5 High 2022-08-01
CVE-2022-35915 OpenZeppelin 资源管理错误漏洞 — openzeppelin-contracts 5.3 Medium 2022-08-01
CVE-2022-31173 graphql-rust 资源管理错误漏洞 — juniper 7.5 High 2022-08-01
CVE-2022-24294 Apache MXNet 安全漏洞 — Apache MXNet 7.5 - 2022-07-24

CWE-400(未加控制的资源消耗(资源穷尽)) 是常见的弱点类别,本平台收录该类弱点关联的 1797 条 CVE 漏洞。