CWE Database
/

CWE-1108

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.

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 Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now