{"id":"CVE-2020-1734","published":"2020-03-03T21:23:15Z","modified":"2024-08-04T06:46:30Z","title":"A flaw was found in the pipe lookup plugin of ansible","vendor":"Red Hat","product":"Ansible","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00455,"percentile":0.40336,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ansible/ansible/issues/67792","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":8.07},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"red-hat","affected":[{"ecosystem":"PyPI","package":"ansible","vulnerableRanges":[">=2.10.0a1, <2.10.0rc1",">=2.9.0a1, <2.9.11","<2.8.13","<2.7.17"],"patched":["2.10.0rc1","2.9.11","2.8.13","2.7.17"],"from":["GHSA-h39q-95q5-9jfp","PYSEC-2020-6"],"provenance":"source"}],"summary":{"text":"A flaw in the pipe lookup plugin of Red Hat's Ansible causes arbitrary commands to run when the plugin calls subprocess.Popen() with shell=True and the variable is not escaped by the quote plugin, an OS command injection weakness. An attacker who can overwrite Ansible facts can exploit this to execute arbitrary commands, and the attack requires local access, low privileges, and user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:04Z"},"euvd":{"id":"EUVD-2020-0028","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-20180","published":"2022-03-16","fixed":"2.9.18","kev":false},{"cve":"CVE-2021-3620","published":"2022-03-03","fixed":"2.9.27","kev":false},{"cve":"CVE-2020-10744","published":"2020-05-15","fixed":"2.10.0rc1","kev":false,"link":{"from":"CVE-2020-1734","to":"CVE-2020-10744","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.9.11","toFixed":"2.9.12","daysApart":73}]}},{"cve":"CVE-2020-1734","published":"2020-03-03","fixed":"2.10.0rc1","kev":false},{"cve":"CVE-2020-14330","published":"2020-09-11","fixed":"2.10.0","kev":false},{"cve":"CVE-2020-14332","published":"2020-09-11","fixed":"2.10.1rc2","kev":false,"link":{"from":"CVE-2020-1734","to":"CVE-2020-14332","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.9.11","toFixed":"2.9.12","daysApart":192}]}},{"cve":"CVE-2020-25635","published":"2020-10-05","fixed":"2.10.1","kev":false}],"package":"PyPI:ansible"}}