Base · Medium

CWE-1043: Data Element Aggregating an Excessively Large Number of Non-Primitive Elements

The 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-1043 · Base Level

Description

The 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.

While the interpretation of "excessively large" may vary for each product or developer, CISQ recommends a default of 5 sub-elements.

Potential Impact

Other

Reduce Performance

Taxonomy Mappings

  • OMG ASCPEM: ASCPEM-PRF-12 —

Frequently Asked Questions

What is CWE-1043?

CWE-1043 (Data Element Aggregating an Excessively Large Number of Non-Primitive Elements) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. The 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.

How can CWE-1043 be exploited?

Attackers can exploit CWE-1043 (Data Element Aggregating an Excessively Large Number of Non-Primitive Elements) to reduce performance. This weakness is typically introduced during the Implementation phase of software development.

How do I prevent CWE-1043?

Follow secure coding practices, conduct code reviews, and use automated security testing tools (SAST/DAST) to detect this weakness early in the development lifecycle.

What is the severity of CWE-1043?

CWE-1043 is classified as a Base-level weakness (Medium abstraction). Its actual severity depends on the specific context and how the weakness manifests in your application.