PYSEC-2020-180 - A flaw was found in the solaris_zone module from the Ansible Community modules. When setting the name…

Severity: info · Published 2020-08-26

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.

Technologies: ansible (PyPI). Vendors: PyPI.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
Informational severity, published 26 August 2020.
Which products and versions are affected?
ansible (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.15,introduced=2.8.0,fixed=2.8.7,introduced=2.9.0,fixed=2.9.2.
Is there a fix for This vulnerability?
Yes. ansible (PyPI): upgrade to 2.9.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected?
Check whether you run ansible (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ansible (PyPI): upgrade to 2.9.2 or later
    pip install "ansible>=2.9.2"

Affected products

  • ansible (PyPI) ECOSYSTEM:introduced=0,fixed=2.7.15,introduced=2.8.0,fixed=2.8.7,introduced=2.9.0,fixed=2.9.2

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.