Skip to main content
Network Thinking Solutions Logo

CVE-2017-7481

Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe.

All CVEs
CVE-2017-7481Published 7/19/2018

Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe.

Vendor advisory
CVSS9.8Critical

Overview

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.

Published
7/19/2018
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
openshift container platform
redhat
3.3

Verify advisory

Source
openshift container platform
redhat
3.4

Verify advisory

Source
openshift container platform
redhat
3.5

Verify advisory

Source
openstack
redhat
10

Verify advisory

Source
openstack
redhat
11

Verify advisory

Source
storage console
redhat
2.0

Verify advisory

Source
virtualization
redhat
4.1

Verify advisory

Source
virtualization manager
redhat
4.1

Verify advisory

Source
gluster storage
redhat
3.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ansible engine
redhat
< 2.3.1.0

Verify advisory

Source
ansible engine
redhat
≥ 2.3.2.0, < 2.4.0.0

Verify advisory

Source
ubuntu linux
canonical
16.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
18.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
19.04

Verify advisory

Source
debian linux
debian
9.0

Verify advisory

Source
ansible
[UNKNOWN]
ansible 2.3.1.0

Verify advisory

Source
ansible
[UNKNOWN]
ansible 2.4.0.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.