CWE-400
Uncontrolled Resource Consumption
About
The product does not properly control the allocation and maintenance of a limited resource.
Common consequences
- Availability → DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other)
- Access Control, Other → Bypass Protection Mechanism, Other
Mitigations
- 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 t
- 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
- 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.
CVEs with this weakness
Frequently asked questions
What is CWE-400?
The product does not properly control the allocation and maintenance of a limited resource. Common consequences Availability → DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory), DoS: Resource Consumption (Other) Access Control, Other → Bypass Protection Mechanism, Other Mitigations Architecture and Design: Design throttling mechanisms into the system architecture.
How likely is CWE-400 to be exploited?
MITRE rates the likelihood of exploit for CWE-400 as high.
Which platforms does CWE-400 affect?
CWE-400 has been observed on: Not Technology-Specific, AI/ML.
How many CVEs does Rainforest track for CWE-400?
Rainforest Labs currently tracks 1 published CVEs mapped to CWE-400. They are listed on this page.
Empower Your Security Strategy with Rainforest
Discover vulnerabilities early, prioritize critical threats, and protect what truly matters. Rainforest streamlines your security operations, saving you time and reducing costs, so you can focus on what drives your business forward.
