View: Quality Weaknesses with Indirect Security Impacts

Incomplete
Type: Implicit
Objective

CWE identifiers in this view (slice) are quality issues that only indirectly make it easier to introduce a vulnerability and/or make the vulnerability more difficult to detect or mitigate.

Audience

TypeDescription
Assessment Tool VendorsThis view makes it easier for assessment vendors to identify and improve coverage for quality-related weaknesses.
Software DevelopersThis view makes it easier for developers to identify and learn about issues that might make their code more difficult to maintain, perform efficiently or reliably, or secure.
Product VendorsThis view makes it easier for software vendors to identify important issues that may make their software more difficult to maintain, perform efficiently or reliably, or secure.

Membership
IDNameDescription
CWE-1041Use of Redundant CodeThe product has multiple functions, methods, procedures, macros, etc. that contain the same code.
CWE-1042Static Member Data Element outside of a Singleton Class ElementThe code contains a member element that is declared as static (but not final), in which its parent class element is not a singleton class - that is, a class element that can be used only once in the 'to' association of a Create action.
CWE-1043Data Element Aggregating an Excessively Large Number of Non-Primitive ElementsThe product uses a data element that has an excessively large number of sub-elements with non-primitive data types such as structures or aggregated objects.
CWE-1044Architecture with Number of Horizontal Layers Outside of Expected RangeThe product's architecture contains too many - or too few - horizontal layers.
CWE-1045Parent Class with a Virtual Destructor and a Child Class without a Virtual DestructorA parent class has a virtual destructor method, but the parent has a child class that does not have a virtual destructor.
CWE-1046Creation of Immutable Text Using String ConcatenationThe product creates an immutable text string using string concatenation operations.
CWE-1047Modules with Circular DependenciesThe product contains modules in which one module has references that cycle back to itself, i.e., there are circular dependencies.
CWE-1048Invokable Control Element with Large Number of Outward CallsThe code contains callable control elements that contain an excessively large number of references to other application objects external to the context of the callable, i.e. a Fan-Out value that is excessively large.
CWE-1049Excessive Data Query Operations in a Large Data TableThe product performs a data query with a large number of joins and sub-queries on a large data table.
CWE-1050Excessive Platform Resource Consumption within a LoopThe product has a loop body or loop condition that contains a control element that directly or indirectly consumes platform resources, e.g. messaging, sessions, locks, or file descriptors.
CWE-1051Initialization with Hard-Coded Network Resource Configuration DataThe product initializes data using hard-coded values that act as network resource identifiers.
CWE-1052Excessive Use of Hard-Coded Literals in InitializationThe product initializes a data element using a hard-coded literal that is not a simple integer or static constant element.
CWE-1053Missing Documentation for DesignThe product does not have documentation that represents how it is designed.
CWE-1054Invocation of a Control Element at an Unnecessarily Deep Horizontal LayerThe code at one architectural layer invokes code that resides at a deeper layer than the adjacent layer, i.e., the invocation skips at least one layer, and the invoked code is not part of a vertical utility layer that can be referenced from any horizontal layer.
CWE-1055Multiple Inheritance from Concrete ClassesThe product contains a class with inheritance from more than one concrete class.
CWE-1056Invokable Control Element with Variadic ParametersA named-callable or method control element has a signature that supports a variable (variadic) number of parameters or arguments.
CWE-1057Data Access Operations Outside of Expected Data Manager ComponentThe product uses a dedicated, central data manager component as required by design, but it contains code that performs data-access operations that do not use this data manager.
CWE-1058Invokable Control Element in Multi-Thread Context with non-Final Static Storable or Member ElementThe 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.
CWE-1059Insufficient Technical DocumentationThe product does not contain sufficient technical or engineering documentation (whether on paper or in electronic form) that contains descriptions of all the relevant software/hardware elements of the product, such as its usage, structure, architectural components, interfaces, design, implementation, configuration, operation, etc.
CWE-1060Excessive Number of Inefficient Server-Side Data AccessesThe product performs too many data queries without using efficient data processing functionality such as stored procedures.
CWE-1061Insufficient EncapsulationThe product does not sufficiently hide the internal representation and implementation details of data or methods, which might allow external components or modules to modify data unexpectedly, invoke unexpected functionality, or introduce dependencies that the programmer did not intend.
CWE-1062Parent Class with References to Child ClassThe code has a parent class that contains references to a child class, its methods, or its members.
CWE-1063Creation of Class Instance within a Static Code BlockA static code block creates an instance of a class.
CWE-1064Invokable Control Element with Signature Containing an Excessive Number of ParametersThe product contains a function, subroutine, or method whose signature has an unnecessarily large number of parameters/arguments.
CWE-1065Runtime Resource Management Control Element in a Component Built to Run on Application ServersThe product uses deployed components from application servers, but it also uses low-level functions/methods for management of resources, instead of the API provided by the application server.
CWE-1066Missing Serialization Control ElementThe product contains a serializable data element that does not have an associated serialization method.
CWE-1067Excessive Execution of Sequential Searches of Data ResourceThe product contains a data query against an SQL table or view that is configured in a way that does not utilize an index and may cause sequential searches to be performed.
CWE-1068Inconsistency Between Implementation and Documented DesignThe implementation of the product is not consistent with the design as described within the relevant documentation.
CWE-1069Empty Exception BlockAn invokable code block contains an exception handling block that does not contain any code, i.e. is empty.
CWE-1070Serializable Data Element Containing non-Serializable Item ElementsThe product contains a serializable, storable data element such as a field or member, but the data element contains member elements that are not serializable.
CWE-1071Empty Code BlockThe source code contains a block that does not contain any code, i.e., the block is empty.
CWE-1072Data Resource Access without Use of Connection PoolingThe product accesses a data resource through a database without using a connection pooling capability.
CWE-1073Non-SQL Invokable Control Element with Excessive Number of Data Resource AccessesThe product contains a client with a function or method that contains a large number of data accesses/queries that are sent through a data manager, i.e., does not use efficient database capabilities.
CWE-1074Class with Excessively Deep InheritanceA class has an inheritance level that is too high, i.e., it has a large number of parent classes.
CWE-1075Unconditional Control Flow Transfer outside of Switch BlockThe product performs unconditional control transfer (such as a "goto") in code outside of a branching structure such as a switch block.
CWE-1076Insufficient Adherence to Expected ConventionsThe product's architecture, source code, design, documentation, or other artifact does not follow required conventions.
CWE-1077Floating Point Comparison with Incorrect OperatorThe code performs a comparison such as an equality test between two float (floating point) values, but it uses comparison operators that do not account for the possibility of loss of precision.
CWE-1078Inappropriate Source Code Style or FormattingThe source code does not follow desired style or formatting for indentation, white space, comments, etc.
CWE-1079Parent Class without Virtual Destructor MethodA parent class contains one or more child classes, but the parent class does not have a virtual destructor method.
CWE-1080Source Code File with Excessive Number of Lines of CodeA source code file has too many lines of code.
CWE-1082Class Instance Self Destruction Control ElementThe code contains a class instance that calls the method or function to delete or destroy itself.
CWE-1083Data Access from Outside Expected Data Manager ComponentThe product is intended to manage data access through a particular data manager component such as a relational or non-SQL database, but it contains code that performs data access operations without using that component.
CWE-1084Invokable Control Element with Excessive File or Data Access OperationsA function or method contains too many operations that utilize a data manager or file resource.
CWE-1085Invokable Control Element with Excessive Volume of Commented-out CodeA function, method, procedure, etc. contains an excessive amount of code that has been commented out within its body.
CWE-1086Class with Excessive Number of Child ClassesA class contains an unnecessarily large number of children.
CWE-1087Class with Virtual Method without a Virtual DestructorA class contains a virtual method, but the method does not have an associated virtual destructor.
CWE-1088Synchronous Access of Remote Resource without TimeoutThe code has a synchronous call to a remote resource, but there is no timeout for the call, or the timeout is set to infinite.
CWE-1089Large Data Table with Excessive Number of IndicesThe product uses a large data table that contains an excessively large number of indices.
CWE-1090Method Containing Access of a Member Element from Another ClassA method for a class performs an operation that directly accesses a member element from another class.
CWE-1091Use of Object without Invoking Destructor MethodThe product contains a method that accesses an object but does not later invoke the element's associated finalize/destructor method.
CWE-1092Use of Same Invokable Control Element in Multiple Architectural LayersThe product uses the same control element across multiple architectural layers.
CWE-1093Excessively Complex Data RepresentationThe product uses an unnecessarily complex internal representation for its data structures or interrelationships between those structures.
CWE-1094Excessive Index Range Scan for a Data ResourceThe product contains an index range scan for a large data table, but the scan can cover a large number of rows.
CWE-1095Loop Condition Value Update within the LoopThe product uses a loop with a control flow condition based on a value that is updated within the body of the loop.
CWE-1096Singleton Class Instance Creation without Proper Locking or SynchronizationThe product implements a Singleton design pattern but does not use appropriate locking or other synchronization mechanism to ensure that the singleton class is only instantiated once.
CWE-1097Persistent Storable Data Element without Associated Comparison Control ElementThe product uses a storable data element that does not have all of the associated functions or methods that are necessary to support comparison.
CWE-1098Data Element containing Pointer Item without Proper Copy Control ElementThe code contains a data element with a pointer that does not have an associated copy or constructor method.
CWE-1099Inconsistent Naming Conventions for IdentifiersThe product's code, documentation, or other artifacts do not consistently use the same naming conventions for variables, callables, groups of related callables, I/O capabilities, data types, file names, or similar types of elements.
CWE-1100Insufficient Isolation of System-Dependent FunctionsThe product or code does not isolate system-dependent functionality into separate standalone modules.
CWE-1101Reliance on Runtime Component in Generated CodeThe product uses automatically-generated code that cannot be executed without a specific runtime support component.
CWE-1102Reliance on Machine-Dependent Data RepresentationThe code uses a data representation that relies on low-level data representation or constructs that may vary across different processors, physical machines, OSes, or other physical components.
CWE-1103Use of Platform-Dependent Third Party ComponentsThe product relies on third-party components that do not provide equivalent functionality across all desirable platforms.
CWE-1104Use of Unmaintained Third Party ComponentsThe product relies on third-party components that are not actively supported or maintained by the original developer or a trusted proxy for the original developer.
CWE-1105Insufficient Encapsulation of Machine-Dependent FunctionalityThe product or code uses machine-dependent functionality, but it does not sufficiently encapsulate or isolate this functionality from the rest of the code.
CWE-1106Insufficient Use of Symbolic ConstantsThe source code uses literal constants that may need to change or evolve over time, instead of using symbolic constants.
CWE-1107Insufficient Isolation of Symbolic Constant DefinitionsThe source code uses symbolic constants, but it does not sufficiently place the definitions of these constants into a more centralized or isolated location.
CWE-1108Excessive Reliance on Global VariablesThe code is structured in a way that relies too much on using or setting global variables throughout various points in the code, instead of preserving the associated information in a narrower, more local context.
CWE-1109Use of Same Variable for Multiple PurposesThe code contains a callable, block, or other code element in which the same variable is used to control more than one unique task or store more than one instance of data.
CWE-1110Incomplete Design DocumentationThe product's design documentation does not adequately describe control flow, data flow, system initialization, relationships between tasks, components, rationales, or other important aspects of the design.
CWE-1111Incomplete I/O DocumentationThe product's documentation does not adequately define inputs, outputs, or system/software interfaces.
CWE-1112Incomplete Documentation of Program ExecutionThe document does not fully define all mechanisms that are used to control or influence how product-specific programs are executed.
CWE-1113Inappropriate Comment StyleThe source code uses comment styles or formats that are inconsistent or do not follow expected standards for the product.
CWE-1114Inappropriate Whitespace StyleThe source code contains whitespace that is inconsistent across the code or does not follow expected standards for the product.
CWE-1115Source Code Element without Standard PrologueThe source code contains elements such as source files that do not consistently provide a prologue or header that has been standardized for the project.
CWE-1116Inaccurate CommentsThe source code contains comments that do not accurately describe or explain aspects of the portion of the code with which the comment is associated.
CWE-1117Callable with Insufficient Behavioral SummaryThe code contains a function or method whose signature and/or associated inline documentation does not sufficiently describe the callable's inputs, outputs, side effects, assumptions, or return codes.
CWE-1118Insufficient Documentation of Error Handling TechniquesThe documentation does not sufficiently describe the techniques that are used for error handling, exception processing, or similar mechanisms.
CWE-1119Excessive Use of Unconditional BranchingThe code uses too many unconditional branches (such as "goto").
CWE-1120Excessive Code ComplexityThe code is too complex, as calculated using a well-defined, quantitative measure.
CWE-1121Excessive McCabe Cyclomatic ComplexityThe code contains McCabe cyclomatic complexity that exceeds a desirable maximum.
CWE-1122Excessive Halstead ComplexityThe code is structured in a way that a Halstead complexity measure exceeds a desirable maximum.
CWE-1123Excessive Use of Self-Modifying CodeThe product uses too much self-modifying code.
CWE-1124Excessively Deep NestingThe code contains a callable or other code grouping in which the nesting / branching is too deep.
CWE-1125Excessive Attack SurfaceThe product has an attack surface whose quantitative measurement exceeds a desirable maximum.
CWE-1126Declaration of Variable with Unnecessarily Wide ScopeThe source code declares a variable in one scope, but the variable is only used within a narrower scope.
CWE-1127Compilation with Insufficient Warnings or ErrorsThe code is compiled without sufficient warnings enabled, which may prevent the detection of subtle bugs or quality issues.
CWE-1164Irrelevant CodeThe product contains code that is not essential for execution, i.e. makes no state changes and has no side effects that alter data or control flow, such that removal of the code would have no impact to functionality or correctness.
CWE-1173Improper Use of Validation FrameworkThe product does not use, or incorrectly uses, an input validation framework that is provided by the source language or an independent library.
CWE-1174ASP.NET Misconfiguration: Improper Model ValidationThe ASP.NET application does not use, or incorrectly uses, the model validation framework.
CWE-1176Inefficient CPU ComputationThe product performs CPU computations using algorithms that are not as efficient as they could be for the needs of the developer, i.e., the computations can be optimized further.
CWE-1177Use of Prohibited CodeThe product uses a function, library, or third party component that has been explicitly prohibited, whether by the developer or the customer.
CWE-1357Reliance on Insufficiently Trustworthy ComponentThe product is built from multiple separate components, but it uses a component that is not sufficiently trusted to meet expectations for security, reliability, updateability, and maintainability.
CWE-474Use of Function with Inconsistent ImplementationsThe code uses a function that has inconsistent implementations across operating systems and versions.
CWE-475Undefined Behavior for Input to APIThe behavior of this function is undefined unless its control parameter is set to a specific value.
CWE-477Use of Obsolete FunctionThe code uses deprecated or obsolete functions, which suggests that the code has not been actively reviewed or maintained.
CWE-483Incorrect Block DelimitationThe code does not explicitly delimit a block that is intended to contain 2 or more statements, creating a logic error.
CWE-484Omitted Break Statement in SwitchThe 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.
CWE-489Active Debug CodeThe product is released with debugging code still enabled or active.
CWE-546Suspicious CommentThe code contains comments that suggest the presence of bugs, incomplete functionality, or weaknesses.
CWE-547Use of Hard-coded, Security-relevant ConstantsThe product uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change.
CWE-554ASP.NET Misconfiguration: Not Using Input Validation FrameworkThe ASP.NET application does not use an input validation framework.
CWE-561Dead CodeThe product contains dead code, which can never be executed.
CWE-562Return of Stack Variable AddressA function returns the address of a stack variable, which will cause unintended program behavior, typically in the form of a crash.
CWE-563Assignment to Variable without UseThe variable's value is assigned but never used, making it a dead store.
CWE-585Empty Synchronized BlockThe product contains an empty synchronized block.
CWE-587Assignment of a Fixed Address to a PointerThe product sets a pointer to a specific address other than NULL or 0.
CWE-589Call to Non-ubiquitous APIThe product uses an API function that does not exist on all versions of the target platform. This could cause portability problems or inconsistencies that allow denial of service or other consequences.
CWE-594J2EE Framework: Saving Unserializable Objects to DiskWhen the J2EE container attempts to write unserializable objects to disk there is no guarantee that the process will complete successfully.
CWE-676Use of Potentially Dangerous FunctionThe product invokes a potentially dangerous function that could introduce a vulnerability if it is used incorrectly, but the function can also be used safely.
CWE-684Incorrect Provision of Specified FunctionalityThe code does not function according to its published specifications, potentially leading to incorrect usage.
CWE-758Reliance on Undefined, Unspecified, or Implementation-Defined BehaviorThe product uses an API function, data structure, or other entity in a way that relies on properties that are not always guaranteed to hold for that entity.
CWE-766Critical Data Element Declared PublicThe product declares a critical variable, field, or member to be public when intended security policy requires it to be private.
Mapping Notes
Usage: Prohibited
Reasons: View
Rationale:
This entry is a View. Views are not weaknesses and therefore inappropriate to describe the root causes of vulnerabilities.
Comment:
Use this View or other Views to search and navigate for the appropriate weakness.