CVE-2018-10874
High
Description
In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.
SeverityHigh
CVSS7.8
Exploit probability—
Product
Redhat Ansible Engine
PublishedJul 2, 2018
First seenJul 2, 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
- usn.ubuntu.com/4072-1/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat ansible_engine | 2.0, 2.4, 2.5, 2.6 | — |
| redhat openstack | 10, 12, 13 | — |
| redhat virtualization | 4.0 | — |
| redhat virtualization_host | 4.0 | — |
| ansiblePyPI | v < 2.4.6.0, 2.5 ≤ v < 2.5.6, 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.