Vulnerability · Published Mar 3, 2020 · Assigned by redhat
CVE-2020-1734
High 7.4
In plain English
A high-severity OS command injection in Ansible from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | no fix listed | DEBIAN-CVE-2020-1734 |
| Debian:13 | ansible | no fix listed | DEBIAN-CVE-2020-1734 |
| Debian:14 | ansible | no fix listed | DEBIAN-CVE-2020-1734 |
| PyPI | ansible | 2.7.17 | PYSEC-2020-6 |
| PyPI | ansible | 2.10.0rc1 | GHSA-h39q-95q5-9jfp |
| PyPI | ansible | 2.9.11 | GHSA-h39q-95q5-9jfp |
| PyPI | ansible | 2.8.13 | GHSA-h39q-95q5-9jfp |
| Ubuntu:24.04:LTS | ansible | no fix listed | UBUNTU-CVE-2020-1734 |
| Ubuntu:25.10 | ansible | no fix listed | UBUNTU-CVE-2020-1734 |
| Ubuntu:26.04:LTS | ansible | no fix listed | UBUNTU-CVE-2020-1734 |
| Ubuntu:26.10 | ansible | no fix listed | UBUNTU-CVE-2020-1734 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734 x_refsource_CONFIRM
- https://github.com/ansible/ansible/issues/67792 x_refsource_MISC