Improper Input Validation and Command Injection in Ansible
High severity
GitHub Reviewed
Published
Sep 23, 2021
to the GitHub Advisory Database
•
Updated Sep 6, 2024
Package
Affected versions
>= 0, < 2.9.23rc1
>= 2.10.0a1, < 2.10.11rc1
>= 2.11.0a1, < 2.11.2rc1
Patched versions
2.9.23rc1
2.10.11rc1
2.11.2rc1
Description
Published by the National Vulnerability Database
Sep 22, 2021
Reviewed
Sep 23, 2021
Published to the GitHub Advisory Database
Sep 23, 2021
Last updated
Sep 6, 2024
A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.
References