ADVISORIES

GitHub Advisory Database

GHSA-fc4h-467w-46rh

Ansible Arbitrary Code Execution

Details

A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.

Affected packages

EcosystemPackageAffected versions
PyPIansible
All versions before 2.4.6.0 (fixed in 2.4.6.0)
PyPIansible
From 2.5.0a1 before 2.5.6 (fixed in 2.5.6)
PyPIansible
From 2.6.0a1 before 2.6.1 (fixed in 2.6.1)

References