CVE-2020-1734
HIGH 7.4CVSS 3.1OS Command Injection in ansible
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.
- Published
- 3 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-h39q-95q5-9jfpPYSEC-2020-6
- Sources
- NVDJSONOSV GHSA-h39q-95q5-9jfpJSONOSV PYSEC-2020-6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L | |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.7 | AV:L/AC:H/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
<= 2.7.16 | |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:2.8.8:*:*:*:*:*:*:* |
= 2.8.8 | |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:2.9.5:*:*:*:*:*:*:* |
= 2.9.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
<= 3.3.4 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:3.4.5:*:*:*:*:*:*:* |
= 3.4.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:3.5.5:*:*:*:*:*:*:* |
= 3.5.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:3.6.3:*:*:*:*:*:*:* |
= 3.6.3 | |
| OSV | PyPI | ansible | >= 2.10.0a1, < 2.10.0rc1 | 2.10.0rc1 |
| OSV | PyPI | ansible | >= 2.9.0a1, < 2.9.11 | 2.9.11 |
| OSV | PyPI | ansible | < 2.8.13 | 2.8.13 |
| OSV | PyPI | ansible | < 2.7.17 | 2.7.17 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://github.com/ansible/ansible/issues/67792 · Third Party Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2020-1734 · ADVISORY
- https://github.com/ansible/ansible/issues/70159 · WEB
- https://github.com/ansible/ansible/pull/70596 · WEB
- https://github.com/ansible/ansible/commit/4f978af4ca16ad9828ffe42203b9615425195f8b · WEB
- https://github.com/ansible/ansible/commit/963bdd9983b91a48fb6949fb2ef41071e72d0be0 · WEB
- https://github.com/ansible/ansible/commit/bff0724e9eab2770f874e018298f9ab74cc2a78f · WEB
- https://github.com/ansible/ansible/commit/e5649ca3e807f17e7c034ee22791f107162973b0 · WEB
- https://access.redhat.com/errata/RHBA-2020:0547 · WEB
- https://access.redhat.com/errata/RHBA-2020:1539 · WEB
- https://access.redhat.com/security/cve/CVE-2020-1734 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1801804 · WEB
- https://github.com/advisories/GHSA-h39q-95q5-9jfp · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-6.yaml · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 3 Mar 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Mar 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Feb 2022)