Category: SFP Secondary Cluster: Faulty Input Transformation

Incomplete
Summary

This category identifies Software Fault Patterns (SFPs) within the Faulty Input Transformation cluster.

Membership
IDNameDescription
CWE-116Improper Encoding or Escaping of OutputThe product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
CWE-166Improper Handling of Missing Special ElementThe product receives input from an upstream component, but it does not handle or incorrectly handles when an expected special element is missing.
CWE-167Improper Handling of Additional Special ElementThe product receives input from an upstream component, but it does not handle or incorrectly handles when an additional unexpected special element is provided.
CWE-168Improper Handling of Inconsistent Special ElementsThe product does not properly handle input in which an inconsistency exists between two or more special characters or reserved words.
CWE-172Encoding ErrorThe product does not properly encode or decode the data, resulting in unexpected values.
CWE-173Improper Handling of Alternate EncodingThe product does not properly handle when an input uses an alternate encoding that is valid for the control sphere to which the input is being sent.
CWE-174Double Decoding of the Same DataThe product decodes the same input twice, which can limit the effectiveness of any protection mechanism that occurs in between the decoding operations.
CWE-175Improper Handling of Mixed EncodingThe product does not properly handle when the same input uses several different (mixed) encodings.
CWE-176Improper Handling of Unicode EncodingThe product does not properly handle when an input contains Unicode encoding.
CWE-177Improper Handling of URL Encoding (Hex Encoding)The product does not properly handle when all or part of an input has been URL encoded.
CWE-178Improper Handling of Case SensitivityThe product does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results.
CWE-179Incorrect Behavior Order: Early ValidationThe product validates input before applying protection mechanisms that modify the input, which could allow an attacker to bypass the validation via dangerous inputs that only arise after the modification.
CWE-180Incorrect Behavior Order: Validate Before CanonicalizeThe product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step.
CWE-181Incorrect Behavior Order: Validate Before FilterThe product validates data before it has been filtered, which prevents the product from detecting data that becomes invalid after the filtering step.
CWE-182Collapse of Data into Unsafe ValueThe product filters data in a way that causes it to be reduced or "collapsed" into an unsafe value that violates an expected security property.
CWE-888Software Fault Pattern (SFP) ClustersCWE identifiers in this view are associated with clusters of Software Fault Patterns (SFPs).
Vulnerability Mapping Notes
Usage: Prohibited
Reasons: Category
Rationale:
This entry is a Category. Using categories for mapping has been discouraged since 2019. Categories are informal organizational groupings of weaknesses that can help CWE users with data aggregation, navigation, and browsing. However, they are not weaknesses in themselves.
Comment:
See member weaknesses of this category.