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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
AND |
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Configuration 5 (hide)
|
History
21 Nov 2024, 03:31
Type | Values Removed | Values Added |
---|---|---|
References | () http://www.securityfocus.com/bid/98492 - Third Party Advisory, VDB Entry | |
References | () https://access.redhat.com/errata/RHSA-2017:1244 - Vendor Advisory | |
References | () https://access.redhat.com/errata/RHSA-2017:1334 - Vendor Advisory | |
References | () https://access.redhat.com/errata/RHSA-2017:1476 - Vendor Advisory | |
References | () https://access.redhat.com/errata/RHSA-2017:1499 - Vendor Advisory | |
References | () https://access.redhat.com/errata/RHSA-2017:1599 - Vendor Advisory | |
References | () https://access.redhat.com/errata/RHSA-2017:2524 - Vendor Advisory | |
References | () https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481 - Issue Tracking, Patch, Vendor Advisory | |
References | () https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2 - Patch, Third Party Advisory | |
References | () https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html - Mailing List, Third Party Advisory | |
References | () https://usn.ubuntu.com/4072-1/ - Third Party Advisory |
Information
Published : 2018-07-19 13:29
Updated : 2024-11-21 03:31
NVD link : CVE-2017-7481
Mitre link : CVE-2017-7481
CVE.ORG link : CVE-2017-7481
JSON object : View
Products Affected
redhat
- virtualization
- openstack
- enterprise_linux
- storage_console
- openshift_container_platform
- gluster_storage
- ansible_engine
- virtualization_manager
canonical
- ubuntu_linux
debian
- debian_linux
CWE
CWE-20
Improper Input Validation