CWE-234 - Failure to Handle Missing Parameter
- Abstraction:Variant
- Structure:Simple
- Status:Incomplete
- Release Date:2006-07-19
- Latest Modification Date:2024-02-29
Weakness Name
Failure to Handle Missing Parameter
Description
If too few arguments are sent to a function, the function will still pop the expected number of arguments from the stack. Potentially, a variable number of arguments could be exhausted in a function as well.
Common Consequences
Scope: Integrity, Confidentiality, Availability, Access Control
Impact: Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity
Notes: There is the potential for arbitrary code execution with privileges of the vulnerable program if function parameter list is exhausted.
Scope: Availability
Impact: DoS: Crash, Exit, or Restart
Notes: Potentially a program could fail if it needs more arguments then are available.