OS Command Injection and Improper Input Validation in ansible
High severity
GitHub Reviewed
Published
Apr 20, 2021
to the GitHub Advisory Database
•
Updated Sep 6, 2024
Package
Affected versions
>= 0, < 2.7.16
>= 2.8.0a1, < 2.8.8
>= 2.9.0a1, < 2.9.3
Patched versions
2.7.16
2.8.8
2.9.3
Description
Published by the National Vulnerability Database
Aug 26, 2020
Reviewed
Apr 5, 2021
Published to the GitHub Advisory Database
Apr 20, 2021
Last updated
Sep 6, 2024
A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name for the zone on the Solaris host, the zone name is checked by listing the process with the 'ps' bare command on the remote machine. An attacker could take advantage of this flaw by crafting the name of the zone and executing arbitrary commands in the remote host. Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected.
References