Advisory

GHSA-wqq5-c89p-3wc3

Also known as: CVE-2014-4966, PYSEC-2020-204

Summary

Ansible Arbitrary Code Execution

Details

Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-17 19:57 UTC
Modified
2024-09-10 22:05 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 1.6.7 (ecosystem)

Fixed versions

1.6.7

Fix

  • Fixed version 1.6.7
    pip install --upgrade ansible==1.6.7

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences