{"@ID": "1127", "@Name": "Compilation with Insufficient Warnings or Errors", "@Abstraction": "Class", "@Structure": "Simple", "@Status": "Incomplete", "Description": "The code is compiled without sufficient warnings enabled.", "Dimensions": {"Dimension": [{"@Type": "Behavior-Type", "#text": "Compilation"}, {"@Type": "Behavior-Property", "#text": "with Insufficient Warnings or Errors"}]}, "Related_Weaknesses": {"Related_Weakness": {"@Nature": "ChildOf", "@CWE_ID": "710", "@View_ID": "1000", "@Ordinal": "Primary"}}, "Weakness_Ordinalities": {"Weakness_Ordinality": {"Ordinality": "Indirect"}}, "Applicable_Platforms": {"Language": [{"@Class": "Compiled", "@Prevalence": "Undetermined"}, {"@Class": "Not Language-Specific", "@Prevalence": "Undetermined"}]}, "Modes_Of_Introduction": {"Introduction": {"Phase": "Build and Compilation"}}, "Common_Consequences": {"Consequence": [{"Scope": "Other", "Impact": "Reduce Maintainability", "Note": "This issue makes it more difficult to maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities.  It also might make it easier to introduce vulnerabilities."}, {"Scope": "Other", "Impact": "Increase Analytical Complexity", "Note": "This issue may prevent the detection of subtle\n\t       bugs or quality issues."}]}, "Detection_Methods": {"Detection_Method": {"Method": "Manual Analysis", "Description": "Inspect scripts and tools that invoke the\n\t     compiler. Ensure that the appropriate command line\n\t     switches and/or configuration are specified to report\n\t     warnings and errors."}}, "Potential_Mitigations": {"Mitigation": {"Phase": "Build and Compilation", "Description": "Compile the code with the best options\n\t      available to generate the most warnings that are\n\t      actionable.", "Effectiveness_Notes": "Compilers with maximum settings could generate too\n\t\tmany warnings that are not directly actionable to the\n\t\tdeveloper. The developer should also be careful to\n\t\tknow that some options might not actually generate all\n\t\tpossible warnings that the compiler can detect. For\n\t\texample, in C, the GCC compiler's \"-Wall\" option does\n\t\tnot actually capture all possible warnings."}}, "Mapping_Notes": {"Usage": "Allowed", "Rationale": "This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.", "Comments": "Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.", "Reasons": {"Reason": {"@Type": "Acceptable-Use"}}}, "Content_History": {"Submission": {"Submission_Name": "CWE Content Team", "Submission_Organization": "MITRE", "Submission_Date": "2018-07-02", "Submission_Version": "3.2", "Submission_ReleaseDate": "2019-01-03", "Submission_Comment": "Entry derived from Common Quality Enumeration (CQE) Draft 0.9."}, "Modification": [{"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2023-01-31", "Modification_Version": "4.10", "Modification_ReleaseDate": "2023-01-31", "Modification_Comment": "updated Description"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2023-04-27", "Modification_Version": "4.11", "Modification_ReleaseDate": "2023-04-27", "Modification_Comment": "updated Relationships"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2023-06-29", "Modification_Version": "4.12", "Modification_ReleaseDate": "2023-06-29", "Modification_Comment": "updated Mapping_Notes"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2025-12-11", "Modification_Version": "4.19", "Modification_ReleaseDate": "2025-12-11", "Modification_Comment": "updated Applicable_Platforms, Common_Consequences, Description, Detection_Factors"}, {"Modification_Name": "CWE Content Team", "Modification_Organization": "MITRE", "Modification_Date": "2026-10-28", "Modification_Version": "5.0", "Modification_ReleaseDate": "2026-10-28", "Modification_Comment": "updated Common_Consequences, Description, Dimensions, Potential_Mitigations, Type"}]}, "entry_type": "Weakness"}
