CWE-1475
Incomplete Data/State Propagation
Description
The product passes control to another component or function, or it performs a state transition, but it does not provide some security-critical data/state that is needed by the receiving component/function.
Consequences
Other
—
Unexpected State, Varies by Context
Access Control
—
Gain Privileges or Assume Identity, Bypass Protection Mechanism
Mitigations
Phase: Implementation
Clearly identify security-critical data/state structures and ensure that they are propagated when necessary. Be careful of error conditions that could redirect control flow in a way that prevents the propagation from occurring.