Arbitrary Command Execution Affecting ansible package, versions [2.7.0,2.7.17)[2.8.0,2.8.11)[2.9.0,2.9.7)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ANSIBLE-559165
  • published4 Mar 2020
  • disclosed3 Mar 2020
  • creditDamien Aumaitre, Nicolas Surbayrole

Introduced: 3 Mar 2020

CVE-2020-1734  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade ansible to version 2.7.17, 2.8.11, 2.9.7 or higher.

Overview

ansible is a simple IT automation system.

Affected versions of this package are vulnerable to Arbitrary Command Execution. The pipe lookup plugin uses shell=True by default. If a variable is passed to the pipe lookup, that variable could be overridden via facts, leading to arbitrary code execution.

Note The maintainer disputes this vulnerability

CVSS Scores

version 3.1