CVE-2017-7481

Critical

Description

Ansible before versions 2.3.1.0 and 2.4.0.0 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. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.

SeverityCritical
CVSS9.8
Exploit probability—
ProductRedhat Ansible Engine
PublishedJul 19, 2018
First seenJul 19, 2018

How to fix

Affected products

ProductAffected versionsFixed in
redhat ansible_enginev < 2.3.1.0, 2.3.2.0 ≤ v < 2.4.0.02.3.1.0, 2.4.0.0
redhat openshift_container_platform3.3, 3.4, 3.5—
redhat openstack10, 11—
redhat storage_console2.0—
redhat virtualization4.1—
redhat virtualization_manager4.1—
redhat gluster_storage3.2—
canonical ubuntu_linux16.04, 18.04, 19.04—
debian debian_linux9.0—
ansiblePyPI2.3.0.0 ≤ v < 2.3.1.0, v < 2.1.6.0, 2.2.0.0 ≤ v < 2.2.3.0, v < 2.3.1.0, 2.3.2.0 ≤ v < 2.4.0.02.3.1.0, 2.1.6.0, 2.2.3.0, 2.4.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.