Here Document Expansion Control Medium

Unquoted 'EOF' delimiters in here documents cause variables to be expanded locally before being sent to the remote server, potentially leading to incorrect or unintended command execution. To ensure variables are expanded on the remote server, quote the 'EOF' delimiter when using here documents with commands like ssh.

Detector ID
shell/here-document-expansion-control@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-