CVE-2020-1734
HIGH7.4EPSS 0.08%OS Command Injection in ansible
Published: 2/9/2022Modified: 4/28/2026
Also known as:DEBIAN-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.
Affected packages (3)
- Debian/ansiblefrom 0
- PyPI/ansible>= 2.10.0a1, < 2.10.0rc1
- PyPI/ansiblefrom 0, < 2.7.17
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
References (17)
- ADVISORYhttps://github.com/advisories/GHSA-h39q-95q5-9jfp
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-1734
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-1734
- PATCHhttps://github.com/ansible/ansible
- WEBhttps://access.redhat.com/errata/RHBA-2020:0547
- WEBhttps://access.redhat.com/errata/RHBA-2020:1539
- WEBhttps://access.redhat.com/security/cve/CVE-2020-1734
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1801804
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734
- WEBhttps://github.com/ansible/ansible/commit/4f978af4ca16ad9828ffe42203b9615425195f8b
- WEBhttps://github.com/ansible/ansible/commit/963bdd9983b91a48fb6949fb2ef41071e72d0be0
- WEBhttps://github.com/ansible/ansible/commit/bff0724e9eab2770f874e018298f9ab74cc2a78f
- WEBhttps://github.com/ansible/ansible/commit/e5649ca3e807f17e7c034ee22791f107162973b0
- WEBhttps://github.com/ansible/ansible/issues/67792
- WEBhttps://github.com/ansible/ansible/issues/70159
- WEBhttps://github.com/ansible/ansible/pull/70596
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-6.yaml