ansible/ansible · Security
Ansible Arbitrary Code Execution
- GHSA ID
- GHSA-fc4h-467w-46rh
- CVE ID
- CVE-2018-10875
- Severity
- high
- Published
- Updated
- CVSS
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.8 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 8.5 · CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
CWEs
- CWE-426 · Untrusted Search Path
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-10875 ↗
- 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://www.debian.org/security/2019/dsa-4396 ↗
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html ↗
- 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 ↗
- https://github.com/advisories/GHSA-fc4h-467w-46rh ↗