CVE-2017-7481
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jul 19, 2018
- Updated
- Aug 5, 2024
- Reserved
- Apr 5, 2017
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 5.3 Medium | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N | redhat |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
ansible[UNKNOWN] |
|
References
- RHSA-2017:1599vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481
- RHSA-2017:1334vendor-advisory
- 98492vdb-entry
- https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2
- RHSA-2017:1244vendor-advisory
- RHSA-2017:1499vendor-advisory
- RHSA-2017:2524vendor-advisory
- RHSA-2017:1476vendor-advisory
- USN-4072-1vendor-advisory
- [debian-lts-announce] 20210127 [SECURITY] [DLA 2535-1] ansible security updatemailing-list
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.