OS Command Injection and Improper Input Validation in ansible

2021-04-20T16:44:22
ID GHSA-GWR8-5J83-483C
Type github
Reporter GitHub Advisory Database
Modified 2021-04-20T16:44:22

Description

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.