Name | CVE-2020-1734 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ansible (PTS) | jessie, jessie (lts) | 1.7.2+dfsg-2+deb8u3 | vulnerable |
| stretch (security), stretch (lts), stretch | 2.2.1.0-2+deb9u3 | vulnerable |
| buster (security), buster, buster (lts) | 2.7.7+dfsg-1+deb10u2 | vulnerable |
| bullseye | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 | vulnerable |
| bookworm | 7.7.0+dfsg-3+deb12u1 | vulnerable |
| sid, trixie | 10.5.0+dfsg-2 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
ansible | source | wheezy | (unfixed) | end-of-life | | |
ansible | source | (unstable) | (unfixed) | unimportant | | |
Notes
https://bugzilla.redhat.com/show_bug.cgi?id=1801804
https://github.com/ansible/ansible/issues/6550
https://github.com/ansible/ansible/issues/67792
Upstream considers this intended functionality and delegates it up to the
playbook author to ensure they use the quote filter.