CVE-2017-7481
published 2018-07-19CVE-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…
critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITW
Exploited in the wild
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
25 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | ansible | < ansible 2.3.1.0+dfsg-1 (bookworm) | ansible 2.3.1.0+dfsg-1 (bookworm) |
| debian | debian_linux | — | — |
| redhat | ansible | >= 0 < 2.3.1.0+dfsg-1 | 2.3.1.0+dfsg-1 |
| redhat | ansible | >= 0 < 2.3.1.0+dfsg-1 | 2.3.1.0+dfsg-1 |
| redhat | ansible | >= 0 < 2.3.1.0+dfsg-1 | 2.3.1.0+dfsg-1 |
| redhat | ansible | >= 0 < 2.3.1.0+dfsg-1 | 2.3.1.0+dfsg-1 |
| redhat | ansible | >= 0 < 2.1.6.0 | 2.1.6.0 |
| redhat | ansible | >= 0 < 2.0.0.2-2ubuntu1.3 | 2.0.0.2-2ubuntu1.3 |
| redhat | ansible | >= 0 < 2.5.1+dfsg-1ubuntu0.1 | 2.5.1+dfsg-1ubuntu0.1 |
| redhat | ansible | >= 2.2.0.0 < 2.2.3.0 | 2.2.3.0 |
| redhat | ansible | >= 2.3.0.0 < 2.3.1.0 | 2.3.1.0 |
| redhat | ansible_engine | < 2.3.1.0 | 2.3.1.0 |
| redhat | ansible_engine | >= 2.3.2.0 < 2.4.0.0 | 2.4.0.0 |
| redhat | gluster_storage | — | — |
| redhat | openshift_container_platform | — | — |
| redhat | openshift_container_platform | — | — |
| redhat | openshift_container_platform | — | — |
| redhat | openstack | — | — |
| redhat | openstack | — | — |
| redhat | storage_console | — | — |
| redhat | virtualization | — | — |
| redhat | virtualization_manager | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL