logo

CVE-2017-7481 ansible

Package

Manager: pip
Name: ansible
Vulnerable Version: >=2.3.0.0 <2.3.1.0 || >=0 <2.1.6.0 || >=2.2.0.0 <2.2.3.0

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.03687 pctl0.87464

Details

Ansible fails to properly mark lookup-plugin results as unsafe Ansible before versions 2.1.6.0, 2.2.3.0, 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.

Metadata

Created: 2018-09-06T03:28:50Z
Modified: 2025-05-29T22:47:16Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-w578-j992-554x/GHSA-w578-j992-554x.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-w578-j992-554x
Finding: F184
Auto approve: 1