Back to CWE list
CWE-1108
Excessive Reliance on Global Variables
Base
Incomplete
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.
Parent Weaknesses (ChildOf)
Common Consequences
Scope
Other
Impact
Reduce Maintainability, Increase Analytical Complexity
Applicable Platforms
Not Language-Specific
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now