Umbra Wiki weakness weakness/CWE-1108
Back to wiki

CWE-1108 — Excessive Reliance on Global Variables

provenance: imported · CWE: CWE-1108

CWE-1108: Excessive Reliance on Global Variables

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Incomplete
Likelihood of exploit

Description

The code is structured in a way that relies too much on using or setting global variables throughout various points in the code, instead of preserving the associated information in a narrower, more local context.

Common consequences

  • Other: Reduce Maintainability, Increase Analytical Complexity

Mitigations

(none listed)

References

  • CWE page: https://cwe.mitre.org/data/definitions/1108.html
  • CWE list: https://cwe.mitre.org/data/index.html