BaseIncomplete

CWE-1052Excessive Use of Hard-Coded Literals in Initialization

Category: other

Description

The product initializes a data element using a hard-coded literal that is not a simple integer or static constant element.

Common consequences· 1

  • Other — Reduce Maintainability
    This issue makes it more difficult to modify or 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.

References

  1. https://cwe.mitre.org/data/definitions/1052.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Insufficient Use of Symbolic Constants
CWE
Use of Externally-Controlled Format String
CWE
Use of Hard-coded, Security-relevant Constants
CWE
Improperly Controlled Modification of Dynamically-Determined Object Attributes
CWE
Insufficient Isolation of Symbolic Constant Definitions
CWE
Missing Initialization of a Variable
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.