CVE-2018-10875
High
Description
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.
SeverityHigh
CVSS7.8
Exploit probability—
Product
Redhat Ansible Engine
PublishedJul 13, 2018
First seenJul 13, 2018
Weakness typeCWE-426CWE-426
How to fix
Update
- ansible2.4.6.0, 2.5.6, 2.6.1 or later
Vendor advisories
- access.redhat.com/errata/RHSA-2018:2166
- access.redhat.com/errata/RHSA-2018:2152
- access.redhat.com/errata/RHSA-2018:2150
- access.redhat.com/errata/RHBA-2018:3788
- access.redhat.com/errata/RHSA-2019:0054
- access.redhat.com/errata/RHSA-2018:2151
- access.redhat.com/errata/RHSA-2018:2321
- access.redhat.com/errata/RHSA-2018:2585
- debian.org/security/2019/dsa-4396
- usn.ubuntu.com/4072-1/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ansible_engine | 2.0, 2.4, 2.5, 2.6 | — |
| redhat ceph_storage | 2.0, 3.0 | — |
| redhat gluster_storage | 3.0.0 | — |
| redhat openshift | 3.0 | — |
| redhat openstack | 10, 12, 13 | — |
| redhat virtualization | 4.0 | — |
| redhat virtualization_host | 4.0 | — |
| debian debian_linux | 9.0, 8.0 | — |
| suse package_hub | No range specified | — |
| canonical ubuntu_linux | 16.04, 18.04, 19.04 | — |
| ansiblePyPI | v < 2.4.6.0, 2.5.0a1 ≤ v < 2.5.6, 2.6.0a1 ≤ v < 2.6.1, 2.5 ≤ v < 2.5.6, 2.4 ≤ v < 2.4.6.0, 2.6 ≤ v < 2.6.1 | 2.4.6.0, 2.5.6, 2.6.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.