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.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)0.5%top 60.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ansibleno fix listedDEBIAN-CVE-2020-1734
Debian:13ansibleno fix listedDEBIAN-CVE-2020-1734
Debian:14ansibleno fix listedDEBIAN-CVE-2020-1734
PyPIansible2.7.17PYSEC-2020-6
PyPIansible2.10.0rc1GHSA-h39q-95q5-9jfp
PyPIansible2.9.11GHSA-h39q-95q5-9jfp
PyPIansible2.8.13GHSA-h39q-95q5-9jfp
Ubuntu:24.04:LTSansibleno fix listedUBUNTU-CVE-2020-1734
Ubuntu:25.10ansibleno fix listedUBUNTU-CVE-2020-1734
Ubuntu:26.04:LTSansibleno fix listedUBUNTU-CVE-2020-1734
Ubuntu:26.10ansibleno fix listedUBUNTU-CVE-2020-1734

Affected products (as reported)

VendorProductVersions
Red Hat Ansible n/a

Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L

References