{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-1734","id":"CVE-2020-1734","title":"OS Command Injection in ansible","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.","descriptionLong":"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":"2020-03-03T21:23:15.000Z","updated":"2026-11-07T17:27:07.576153547Z","reserved":"2019-11-27T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","rating":"high","source":"redhat"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","rating":"high","source":"redhat"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","rating":"high","source":"redhat.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","rating":"high","source":"NVD"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","rating":"high","source":"GitHub"},{"version":"2.0","score":3.7,"vector":"AV:L/AC:H/Au:N/C:P/I:P/A:P","rating":"low","source":"NVD"}],"rating":"high","products":["Red Hat Ansible"],"affectedProducts":[{"vendor":"Red Hat","product":"Ansible","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.10.0a1 <2.10.0rc1",">=2.9.0a1 <2.9.11","<2.8.13","<2.7.17"],"fixed":["2.10.0rc1","2.9.11","2.8.13","2.7.17"],"advisory":"GHSA-h39q-95q5-9jfp"}],"cwes":["CWE-78"],"aliases":["GHSA-h39q-95q5-9jfp","PYSEC-2020-6"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/ansible/ansible/issues/67792","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1734","tags":["advisory"]},{"url":"https://github.com/ansible/ansible/issues/70159","tags":["web"]},{"url":"https://github.com/ansible/ansible/pull/70596","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/4f978af4ca16ad9828ffe42203b9615425195f8b","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/963bdd9983b91a48fb6949fb2ef41071e72d0be0","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/bff0724e9eab2770f874e018298f9ab74cc2a78f","tags":["web"]},{"url":"https://github.com/ansible/ansible/commit/e5649ca3e807f17e7c034ee22791f107162973b0","tags":["web"]},{"url":"https://access.redhat.com/errata/RHBA-2020:0547","tags":["web"]},{"url":"https://access.redhat.com/errata/RHBA-2020:1539","tags":["web"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-1734","tags":["web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1801804","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h39q-95q5-9jfp","tags":["advisory"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-6.yaml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00455,"epssPercentile":0.40105,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-1734","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-1734","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-1734","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h39q-95q5-9jfp","ok":true,"note":"GHSA-h39q-95q5-9jfp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-1734","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}