CWE-405: Asymmetric Resource Consumption (Amplification)

ClassIncomplete

The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is "asymmetric."

View on MITRE
Back to CWE Lookup

Extended Description

This can lead to poor performance due to "amplification" of resource consumption, typically in a non-linear fashion. This situation is worsened if the product allows malicious users or attackers to consume more resources than their access level permits.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms
Not OS-Specific

Frequently Asked Questions

What is CWE-405: Asymmetric Resource Consumption (Amplification)?+

CWE-405: Asymmetric Resource Consumption (Amplification) is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is "asymmetric." This can lead to poor performance due to "amplification" of resource consumption, typically in a non-linear fashion. This situation is worsened if the product allows malicious users or attackers to consume more resources than their access level permits.

What are the security consequences of Asymmetric Resource Consumption (Amplification)?+

If exploited, CWE-405 (Asymmetric Resource Consumption (Amplification)) it can compromise Availability, leading to outcomes such as DoS: Amplification, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory) and DoS: Resource Consumption (Other).

How do you prevent or mitigate Asymmetric Resource Consumption (Amplification)?+

Recommended mitigations for CWE-405 include: An application must make resources available to a client commensurate with the client's access level. An application must, at all times, keep track of allocated resources and meter their usage appropriately. Consider disabling resource-intensive algorithms on the server side, such as Diffie-Hellman key exchange.

Which programming languages are affected by Asymmetric Resource Consumption (Amplification)?+

CWE-405 commonly affects Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

What are real-world examples of Asymmetric Resource Consumption (Amplification)?+

MITRE documents real CVEs mapped to CWE-405, including CVE-1999-0513, CVE-2003-1564, CVE-2004-2458, CVE-2020-10735 and CVE-2020-5243. You can look up the full details of each CVE, including CVSS scores and remediation guidance, on our CVE Lookup tool.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-405 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More