CVE-2017-7481
Severity CVSS v4.0:
Pending analysis
Type:
CWE-20
Input Validation
Publication date:
19/07/2018
Last modified:
04/08/2021
Description
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.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:redhat:openshift_container_platform:3.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:openshift_container_platform:3.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:openshift_container_platform:3.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:openstack:11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:storage_console:2.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:virtualization:4.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:virtualization_manager:4.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:gluster_storage:3.2:*:*:*:*:*:*:* | ||
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* | 2.3.1.0 (excluding) | |
| cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* | 2.3.2.0 (including) | 2.4.0.0 (excluding) |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | ||
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | ||
| cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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/



