Improper Encoding or Escaping of Output
A flaw was found in ansible-runner. An improper escaping of the shell command, while calling the ansible_runner.interface.run_command, can lead to parameters getting executed as the host's shell command. A developer could unintentionally write code that gets executed in the host rather than the virtual environment. This issue affects versions prior to 2.0.3 and 2.1.0a1.
CWE-116 - Improper Encoding or Escaping of Output
The software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.