CVE-2021-4041 – Ansible: Improper shell escaping in ansible-runner
https://notcve.org/view.php?id=CVE-2021-4041
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 host's shell command. A developer could unintentionally write code that gets executed in the host rather than the virtual environment. Se ha encontrado un fallo en ansible-runner. Un escape inapropiado del comando shell, mientras es llamado a ansible_runner.interface.run_command, puede conllevar a que los parámetros sean ejecutados como el comando shell del host. • https://access.redhat.com/security/cve/CVE-2021-4041 https://bugzilla.redhat.com/show_bug.cgi?id=2028074 https://github.com/ansible/ansible-runner/commit/3533f265f4349a3f2a0283158cd01b59a6bbc7bd • CWE-20: Improper Input Validation CWE-116: Improper Encoding or Escaping of Output •