BaseIncomplete

CWE-1106Insufficient Use of Symbolic Constants

Category: other

Description

The source code uses literal constants that may need to change or evolve over time, instead of using symbolic constants.

Common consequences· 1

  • Other — Reduce Maintainability, Increase Analytical Complexity
    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.

References

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

Related by meaning· 6

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

CWE
Insufficient Isolation of Symbolic Constant Definitions
CWE
Excessive Use of Hard-Coded Literals in Initialization
CWE
Inaccurate Source Code Comments
CWE
Excessive Reliance on Global Variables
CWE
Use of Obsolete Function
CWE
Inappropriate Comment Style
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.