CVE-2020-1734PYSEC-2020-6GHSA-H39Q-95Q5-9JFP
A flaw was found in the pipe lookup plugin of ansible.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.7.17, 2.10.0rc1, 2.9.11, 2.8.13
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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