Improper input validation in [Unknown] Ansible
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.047, 92.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- [Unknown] Ansible — versions ansible 2.4.0.0, ansible 2.3.1.0
- Canonical Ubuntu Linux — versions 16.04, 18.04, 19.04
- Debian Linux — versions 9.0
- Red Hat Ansible Engine
- Red Hat Gluster Storage — versions 3.2
- Red Hat Openshift Container Platform — versions 3.3, 3.4, 3.5
- Red Hat OpenStack — versions 10, 11
- Red Hat Storage Console — versions 2.0
- Red Hat Virtualization — versions 4.1
- Red Hat Virtualization Manager — versions 4.1
Weakness classification (CWE)
References
- RHSA-2017:1599 (vendor-advisory, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Issue Tracking, Vendor Advisory)
- RHSA-2017:1334 (vendor-advisory, Vendor Advisory)
- www.securityfocus.com/bid/98492 (Third Party Advisory, VDB Entry, vdb-entry)
- github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2 (Patch, Third Party Advisory)
- RHSA-2017:1244 (vendor-advisory, Vendor Advisory)
- RHSA-2017:1499 (vendor-advisory, Vendor Advisory)
- RHSA-2017:2524 (vendor-advisory, Vendor Advisory)
- RHSA-2017:1476 (vendor-advisory, Vendor Advisory)
- USN-4072-1 (vendor-advisory, Third Party Advisory)