OS Command Injection and Improper Input Validation in ansible
Ansible
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ansible PyPI |
|
|
Ansible
| Product | Affected | Fixed in |
|---|---|---|
| ansible PyPI |
|
|
2.7.152.8.72.9.2A 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.
From the CVE record · redhat
The Ansible Community solaris_zone module checks a Solaris zone name using the bare `ps` command on the remote host. An attacker who can craft the zone name when a zone is set could execute arbitrary commands on that host. The input does not specify authentication or user-interaction requirements.
Engineers running the PyPI ansible package in the listed affected ranges, including Ansible Engine 2.7.15, 2.8.7, and 2.9.2 or earlier versions, should check their installations.