504
The product receives input from an upstream component, but it does not account for byte ordering
(e.g. big-endian and little-endian) when processing the input, causing an incorrect number or value
to be used.
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 188 Reliance on Data/Memory Layout 470
Applicable Platforms
Language : Not Language-Specific (Prevalence = Undetermined)
Common Consequences
Scope Impact Likelihood
Integrity Unexpected State
Detection Methods
Black Box
Because byte ordering bugs are usually very noticeable even with normal inputs, this bug is more
likely to occur in rarely triggered error conditions, making them difficult to detect using black box
methods.
MemberOf Relationships
This MemberOf relationships table shows additional CWE Catgeories and Views that reference this
weakness as a member. This information is often useful in understanding where a weakness fits
within the context of external information sources.
Nature Type ID Name Page
MemberOf 857 The CERT Oracle Secure Coding Standard for Java
(2011) Chapter 14 - Input Output (FIO)
844 2368
MemberOf 993 SFP Secondary Cluster: Incorrect Input Handling 888 2417
MemberOf 1147 SEI CERT Oracle Secure Coding Standard for Java -
Guidelines 13. Input Output (FIO)
1133 2450
MemberOf 1399 Comprehensive Categorization: Memory Safety 1400 2525
Notes
Research Gap
Under-reported.
Taxonomy Mappings
Mapped Taxonomy Name Node ID Fit Mapped Node Name
PLOVER Numeric Byte Ordering Error
The CERT Oracle Secure
Coding Standard for Java
(2011)
FIO12-J Provide methods to read and write littleendian
data
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Weakness ID : 200
CWE Version 4.14
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor