Arbitrary Code Injection Affecting ansible package, versions [,2.3.1.0)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.95% (90th 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 Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ANSIBLE-42165
  • published23 Jul 2018
  • disclosed8 May 2018
  • creditEvgeni Golov

Introduced: 8 May 2018

CVE-2017-7481  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade ansible to version 2.3.1.0, 2.4.0.0 or higher.

Overview

ansible is a radically simple IT automation system.

Affected versions of this package are vulnerable to Arbitrary Code Execution. It fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution.

CVSS Scores

version 3.1