high7.8
CVE-2018-10875
Ansible Arbitrary Code Execution
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | ansible | < 2.4.6.0 | 2.4.6.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Ansible Engine | Versions 2.0, 2.4, 2.5, 2.6 |
| Redhat | Ceph Storage | Versions 2.0, 3.0 |
| Redhat | Gluster Storage | Version 3.0.0 |
| Redhat | Openshift | Version 3.0 |
| Redhat | Openstack | Versions 10, 12, 13 |
| Redhat | Virtualization | Version 4.0 |
| Redhat | Virtualization Host | Version 4.0 |
| Debian | Debian Linux | Versions 9.0, 8.0 |
| Suse | Package Hub | All versions |
| Canonical | Ubuntu Linux | Versions 16.04, 18.04, 19.04 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html
- http://www.securitytracker.com/id/1041396
- https://access.redhat.com/errata/RHBA-2018:3788
- https://access.redhat.com/errata/RHSA-2018:2150
- https://access.redhat.com/errata/RHSA-2018:2151
- https://access.redhat.com/errata/RHSA-2018:2152
- https://access.redhat.com/errata/RHSA-2018:2166
- https://access.redhat.com/errata/RHSA-2018:2321
- https://access.redhat.com/errata/RHSA-2018:2585
- https://access.redhat.com/errata/RHSA-2019:0054
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875
- https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html
- https://usn.ubuntu.com/4072-1/
- https://www.debian.org/security/2019/dsa-4396
- https://github.com/advisories/GHSA-fc4h-467w-46rh
- https://nvd.nist.gov/vuln/detail/CVE-2018-10875
- https://github.com/ansible/ansible/pull/42070
- https://github.com/ansible/ansible/pull/43583
- https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396
- https://github.com/ansible/ansible/issues/42388
- https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981
- https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172
- https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63
- https://usn.ubuntu.com/4072-1
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml