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.
Metrics
Affected Vendors & Products
Advisories
Source | ID | Title |
---|---|---|
![]() |
DLA-2535-1 | ansible security update |
![]() |
EUVD-2018-0014 | Ansible fails to properly mark lookup-plugin results as unsafe |
![]() |
GHSA-w578-j992-554x | Ansible fails to properly mark lookup-plugin results as unsafe |
![]() |
USN-4072-1 | Ansible vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.

Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2024-08-05T16:04:11.540Z
Reserved: 2017-04-05T00:00:00
Link: CVE-2017-7481

No data.

Status : Modified
Published: 2018-07-19T13:29:00.340
Modified: 2024-11-21T03:31:59.250
Link: CVE-2017-7481


No data.