CVE-2018-10875Published Jul 13, 2018 · Jul 13Updated Nov 7
Ansible Arbitrary Code Execution
[UNKNOWN] ansible
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| ansible PyPI |
|
|
[UNKNOWN] ansible
| Product | Affected | Fixed in |
|---|---|---|
| ansible PyPI |
|
|
2.6.1A 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.
From the CVE record · redhat
ansible reads ansible.cfg from the current working directory. If an attacker can alter that configuration to point to an attacker-controlled plugin or module path, they can execute arbitrary code when ansible runs from that directory. The input does not specify authentication requirements.
Anyone running the PyPI ansible package in the affected 2.4, 2.5, or 2.6 ranges below the respective fixed releases should check their installation.