ansible
Affected
- introduced
2.3.0.0, fixed2.3.1.0(ecosystem)
Fixed versions
2.3.1.0
Fix
- Fixed version
2.3.1.0pip install --upgrade ansible==2.3.1.0
Advisory
Also known as: CVE-2017-7481, PYSEC-2018-41
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.
Critical Basis: The source's own band: CRITICAL
2.3.0.0, fixed 2.3.1.0 (ecosystem)2.3.1.0
2.3.1.0pip install --upgrade ansible==2.3.1.00, fixed 2.1.6.0 (ecosystem)2.1.6.0
2.1.6.0pip install --upgrade ansible==2.1.6.02.2.0.0, fixed 2.2.3.0 (ecosystem)2.2.3.0
2.2.3.0pip install --upgrade ansible==2.2.3.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0