Command Argument Handling High

Storing complex command arguments as strings does not preserve quoting or escaping, potentially causing incorrect command execution. To properly handle complex arguments, use arrays in Bash/Ksh or functions in POSIX-compliant shells.

Detector ID
shell/command-argument-handling@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-