Vulnerability
CVE-2017-7481
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.
22 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
DEBIAN-CVE-2017-7481
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…
-
DLA-2535-1
ansible - security update
-
GHSA-w578-j992-554x
Ansible fails to properly mark lookup-plugin results as unsafe
-
PYSEC-2018-41
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…
-
RHSA-2017:1244
Red Hat Security Advisory: ansible and openshift-ansible security and bug fix update
-
RHSA-2017:1334
Red Hat Security Advisory: ansible security update
-
RHSA-2017:1476
Red Hat Security Advisory: ansible security update
-
RHSA-2017:1499
Red Hat Security Advisory: ansible security update
-
RHSA-2017:1599
Red Hat Security Advisory: ansible security update
-
RHSA-2017:2524
Red Hat Security Advisory: ansible security, bug fix, and enhancement update
-
SUSE-SU-2017:3029-1
Security update for ansible and monasca-installer
-
UBUNTU-CVE-2017-7481
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…
-
USN-4072-1
ansible vulnerabilities
-
openSUSE-SU-2017:2976-1
Security update for ansible
-
openSUSE-SU-2017:2978-1
Security update for ansible
-
openSUSE-SU-2019:0238-1
Security update for ansible
-
openSUSE-SU-2024:14244-1
ansible-9-9.8.0-1.1 on GA media
-
openSUSE-SU-2024:14536-1
ansible-10-10.6.0-1.1 on GA media
-
openSUSE-SU-2025:15605-1
ansible-11-11.11.0-1.1 on GA media
-
openSUSE-SU-2025:15753-1
ansible-12-12.2.0-1.1 on GA media
-
openSUSE-SU-2026:10944-1
ansible-13-13.7.0-1.1 on GA media
-
openSUSE-SU-2026:12447-1
ansible-14-14.6.0-1.1 on GA media
References
- http://www.securityfocus.com/bid/98492
- https://access.redhat.com/errata/RHSA-2017:1244
- https://access.redhat.com/errata/RHSA-2017:1334
- https://access.redhat.com/errata/RHSA-2017:1476
- https://access.redhat.com/errata/RHSA-2017:1499
- https://access.redhat.com/errata/RHSA-2017:1599
- https://access.redhat.com/errata/RHSA-2017:2524
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481
- https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2
- https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html
- https://usn.ubuntu.com/4072-1/