VDB
KO

PYSEC-2020-6

Details

A flaw was found in the pipe lookup plugin of ansible. Arbitrary commands can be run, when the pipe lookup plugin uses subprocess.Popen() with shell=True, by overwriting ansible facts and the variable is not escaped by quote plugin. An attacker could take advantage and run arbitrary commands by overwriting the ansible facts.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / ansible
Introduced in: 0 Fixed in: 2.7.17
Fix pip install --upgrade 'ansible>=2.7.17'

References