critical9.8
CVE-2017-7481
Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Openshift Container Platform | Versions 3.3, 3.4, 3.5 |
| Redhat | Openstack | Versions 10, 11 |
| Redhat | Storage Console | Version 2.0 |
| Redhat | Virtualization | Version 4.1 |
| Redhat | Virtualization Manager | Version 4.1 |
| Redhat | Gluster Storage | Version 3.2 |
| Redhat | Ansible Engine | before 2.3.1.0 from 2.3.2.0 before 2.4.0.0 |
| Canonical | Ubuntu Linux | Versions 16.04, 18.04, 19.04 |
| Debian | Debian Linux | Version 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- 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/
- 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/