Improper Neutralization of Leading Special Elements
1
Variant
-
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes leading special elements that could be interpreted in unexpected ways when they are sent to a downstream component.
Improper Neutralization of Trailing Special Elements
1
Variant
-
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes trailing special elements that could be interpreted in unexpected ways when they are sent to a downstream component.
The product performs multiple behaviors that are combined to produce a single result, but the individual behaviors are observable separately in a way that allows attackers to reveal internal state or internal decision points.
The product truncates the display, recording, or processing of security-relevant information in a way that can obscure the source or nature of an attack.
Creation of chroot Jail Without Changing Working Directory
1
Variant
High
The product uses the chroot() system call to create a jail, but does not change the working directory afterward. This does not prevent access to files outside of the jail.
The product subtracts one pointer from another in order to determine size, but this calculation can be incorrect if the pointers do not exist in the same memory chunk.
The product omits a break statement within a switch or similar construct, causing code associated with multiple conditions to execute. This can cause problems when the programmer only intended to execute code associated with one condition.
A covert storage channel transfers information through the setting of bits by one program and the reading of those bits by another. What distinguishes this case from that of ordinary operation is that the bits are used to convey encoded information.
Unnecessary Complexity in Protection Mechanism (Not Using 'Economy of Mechanism')
1
Class
-
The product uses a more complex mechanism than necessary, which could lead to resultant weaknesses when the mechanism is not correctly understood, modeled, configured, implemented, or used.
The product has a protection mechanism that is too difficult or inconvenient to use, encouraging non-malicious users to disable or bypass the mechanism, whether by accident or on purpose.
The product uses low-level functionality that is explicitly prohibited by the framework or specification under which the product is supposed to operate.
The product contains a conditional statement with multiple logical expressions in which one of the non-leading expressions may produce side effects. This may lead to an unexpected state in the program after the execution of the conditional, because short-circuiting logic may prevent the side effects from occurring.
Only Filtering Special Elements at an Absolute Position
1
Variant
-
The product receives data from an upstream component, but only accounts for special elements at an absolute position (e.g. "byte number 10"), thereby missing remaining special elements that may exist before sending it to a downstream component.
Invokable Control Element in Multi-Thread Context with non-Final Static Storable or Member Element
1
Base
-
The code contains a function or method that
operates in a multi-threaded environment but owns an unsafe non-final
static storable or member data element.