CVE-2017-7481: Ansible fails to properly mark lookup-plugin results as unsafe
CVE-2017-7481 · Severity: low · CVSS 3.1 · Published 2018-07-19
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.
Yes. ansible (PyPI): upgrade to 2.3.1.0, 2.4.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2017-7481?
Check whether you run ansible (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
ansible (PyPI): upgrade to 2.3.1.0, 2.4.0.0 or later