CVE-2020-1734

ansible: shell enabled by default in a pipe lookup plugin subprocess

Published Mar 3, 2020 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-0028 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.
Github GHSA Github GHSA GHSA-h39q-95q5-9jfp OS Command Injection in ansible
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 4, 2024, 6:46 AM
Reserved
Nov 27, 2019, 12:00 AM
Status
Modified
Published
Mar 3, 2020, 10:15 PM
Modified
Jun 17, 2026, 3:02 AM
Severity
Moderate
Public date
Feb 18, 2020, 12:00 AM