CVE-2020-1738 json
Argument Injection in Ansible
published 2020-03-16 6 y ago modified 2026-06-17 4 mo ago also GHSA-f85h-23mf-2fwh , PYSEC-2020-10 , EUVD-2020-0003
- cvss
- 3.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
A flaw was found in Ansible Engine when the module package or service is used and the parameter 'use' is not specified. If a previous task is executed with a malicious user, the module sent can be selected by the attacker using the ansible facts file. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
Patch / fix
- pypi ansible 2.7.17, 2.8.9, 2.9.6
- storm OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 1.2.3-3.6.1
- ansible OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 2.9.14-3.15.1
- grafana OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 6.7.4-4.12.1
- ardana-mq OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1593618123.678c32b-3.26.1
- ardana-nova OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1601298847.dd01585-3.42.1
- crowbar-core OpenStack Cloud Crowbar 8 5.0+git.1600432272.b3ad722f0-3.44.1
- python-kombu OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 4.1.0-3.7.1
- ardana-cinder OpenStack Cloud 8, HPE Helion OpenStack 8 8.0+git.1596129856.263f430-3.43.1
suse advisories SUSE-SU-2020:3309-1
- ansible-14 openSUSE Tumbleweed 14.6.0-1.1
- ansible-13 openSUSE Tumbleweed 13.7.0-1.1
- ansible-12 openSUSE Tumbleweed 12.2.0-1.1
- ansible-11 openSUSE Tumbleweed 11.11.0-1.1
- ansible-10 openSUSE Tumbleweed 10.6.0-1.1
- ansible-9 openSUSE Tumbleweed 9.8.0-1.1
- ansible Package Hub 15 SP3, openSUSE Leap 15.3 2.9.21-bp153.2.3.1
opensuse advisories openSUSE-SU-2026:12447-1openSUSE-SU-2026:10944-1openSUSE-SU-2025:15753-1openSUSE-SU-2025:15605-1openSUSE-SU-2024:14536-1openSUSE-SU-2024:14244-1
- github.com/ansible/ansible#67808 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-1738 updated cvss 3.9
ansible: module package can be selected by the ansible facts
-
Red Hat Ansible Engine 2 ansible, ansible-test Red Hat Ansible Tower 3 ansibleaffected: workaround, no fix planned “Will not fix”
-
Red Hat Ceph Storage 2 ansibleaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Ceph Storage 3 ansibleaffected: workaround, no fix available “Fix deferred”
-
Red Hat OpenStack Platform 10 (Newton) ansibleaffected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 13 (Queens) ansible Red Hat Storage 3 ansibleaffected: workaround, no fix planned “Will not fix”
-
Red Hat Ansible Tower 3.4 for RHEL 7 Server ansible-tower-34/ansible-tower-memcached 1.4.15-28, ansible-tower-35/ansible-tower-memcached 1.4.15-28, ansible-tower-37/ansible-tower-memcached-rhel7 1.4.15-28fixed: vendor fix RHBA-2020:0547
-
Red Hat Ansible Tower 3.5 for RHEL 7 Server ansible-tower-35/ansible-tower 3.5.6-1fixed: vendor fix RHBA-2020:1539
-
Red Hat CloudForms Management Engine 5 ansible-tower, ansible-tower-ui, ansible-tower-setup, ansible-tower-server, ansible-tower-venv-tower, ansible-tower-venv-ansiblenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.9 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L |
| NVD | 3.1 | 3.9 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L |
| NVD | 2.0 | 2.6 | AV:L/AC:H/Au:N/C:N/I:P/A:P |
| GitHub | 3.1 | 3.9 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ansible | <=2.7.16 >=2.8.0a1, <=2.8.10 >=2.9.0a1, <=2.9.6 <2.7.17 >=2.8.0, <2.8.9 >=2.9.0, <2.9.6 |
2.7.17 2.8.9 2.9.6 |
Affected products
- Red Hat ansible
Classification
- Weakness
-
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
References
-
github.com
/ansible/ansible/pull/67808
web
-
security.gentoo.org
/glsa/202006-11
vendor-advisory, web, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2020-1738
web, issue-tracking, vendor-advisory, report
-
github.com
/ansible/ansible/issues/67796
web, third-party-advisory, report
-
nvd.nist.gov
/vuln/detail/CVE-2020-1738
advisory
-
github.com
/advisories/GHSA-f85h-23mf-2fwh
advisory
-
github.com
/ansible/ansible
package
-
github.com
/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-10.yaml
web
Sources
- CVE List CVE-2020-1738
- GitHub Advisory GHSA-f85h-23mf-2fwh
- NVD CVE-2020-1738
- OSV PYSEC-2020-10
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.