Advisory

GHSA-jg4f-jqm5-4mgq

Also known as: CVE-2016-8628, PYSEC-2018-38

Summary

Ansible fails to properly sanitize fact variables sent from the Ansible controller

Details

Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller. An attacker with the ability to create special variables on the controller could execute arbitrary commands on Ansible clients as the user Ansible runs as.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2018-10-10 17:23 UTC
Modified
2024-09-04 19:21 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.2.0.0 (ecosystem)

Fixed versions

2.2.0.0

Fix

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

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