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


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 2.79% (91st percentile)
Expand this section
NVD
9.8 critical
Expand this section
Red Hat
5.3 medium

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 ID SNYK-PYTHON-ANSIBLE-42165
  • published 23 Jul 2018
  • disclosed 8 May 2018
  • credit Evgeni Golov

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.