Skip to main content
← All vulnerabilities
CVE-2020-1734PYSEC-2020-6GHSA-H39Q-95Q5-9JFP

A flaw was found in the pipe lookup plugin of ansible.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.17, 2.10.0rc1, 2.9.11, 2.8.13
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Red Hat Ansible

    Version range not reported

  • ansiblePyPI

    fixed in 2.7.17

  • ansiblePyPI

    From 2.10.0a1 · fixed in 2.10.0rc1

  • ansiblePyPI

    From 2.9.0a1 · fixed in 2.9.11

  • ansiblePyPI

    fixed in 2.8.13

References 2

bugzilla.redhat.com

GitHub · ansible/ansible