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
Link | Resource |
---|---|
http://www.securityfocus.com/bid/98492 | Third Party Advisory VDB Entry |
https://access.redhat.com/errata/RHSA-2017:1244 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1334 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1476 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1499 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1599 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:2524 | Vendor Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481 | Issue Tracking Patch Vendor Advisory |
https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2 | Patch Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html | Mailing List Third Party Advisory |
https://usn.ubuntu.com/4072-1/ | Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: redhat
Published: 2018-07-19T13:00:00
Updated: 2021-01-27T23:06:14
Reserved: 2017-04-05T00:00:00
Link: CVE-2017-7481
JSON object: View
NVD Information
Status : Analyzed
Published: 2018-07-19T13:29:00.340
Modified: 2021-08-04T17:15:29.523
Link: CVE-2017-7481
JSON object: View
Redhat Information
No data.
CWE