BaseIncomplete

CWE-1107Insufficient Isolation of Symbolic Constant Definitions

Category: other

Description

The source code uses symbolic constants, but it does not sufficiently place the definitions of these constants into a more centralized or isolated location.

Common consequences· 1

  • Other — Reduce Maintainability
    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/1107.html

Related by meaning· 6

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

CWE
Insufficient Use of Symbolic Constants
CWE
Inaccurate Source Code Comments
CWE
Excessive Use of Hard-Coded Literals in Initialization
CWE
Declaration of Variable with Unnecessarily Wide Scope
CWE
Insufficient Encapsulation of Machine-Dependent Functionality
CWE
Excessive Reliance on Global Variables
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.