433
CWE-172: Encoding Error
Weakness ID : 172
Structure : Simple
Abstraction : Class
Description
The product does not properly encode or decode the data, resulting in unexpected values.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 707 Improper Neutralization 1546
ParentOf 173 Improper Handling of Alternate Encoding 435
ParentOf 174 Double Decoding of the Same Data 437
ParentOf 175 Improper Handling of Mixed Encoding 439
ParentOf 176 Improper Handling of Unicode Encoding 440
ParentOf 177 Improper Handling of URL Encoding (Hex Encoding) 442
CanPrecede 22 Improper Limitation of a Pathname to a Restricted Directory
('Path Traversal')