GitHub Advisoryadvisory · PyPI
GHSA-fc4h-467w-46rh Ansible Arbitrary Code Execution
HIGH
Official page ↗
- Aliases
- CVE-2018-10875
- Ecosystem
- PyPI
- Packages
- ansible
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-426
- Reviewed
- 2024-04-22
Affected packages
• PyPI ansible: < 2.4.6.0 → fixed in 2.4.6.0
• PyPI ansible: >= 2.5.0a1, < 2.5.6 → fixed in 2.5.6
• PyPI ansible: >= 2.6.0a1, < 2.6.1 → fixed in 2.6.1
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.
Related
Alias · CVE (1)
- CVE-2018-10875 A flaw was found in ansible. vulnerability
Weakness · CWE (1)
- CWE-426 Untrusted Search Path weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-10875 advisory
- https://github.com/ansible/ansible/issues/42388 web
- https://github.com/ansible/ansible/pull/43583 web
- https://github.com/ansible/ansible/pull/42070 web
- https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63 web
- https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981 web
- https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172 web
- https://www.debian.org/security/2019/dsa-4396 web
- https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396 web
- https://usn.ubuntu.com/4072-1 web
- https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html web
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml web
- https://github.com/ansible/ansible package
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875 web
- https://access.redhat.com/errata/RHSA-2019:0054 web
- https://access.redhat.com/errata/RHSA-2018:2585 web
- https://access.redhat.com/errata/RHSA-2018:2321 web
- https://access.redhat.com/errata/RHSA-2018:2166 web
- https://access.redhat.com/errata/RHSA-2018:2152 web
- https://access.redhat.com/errata/RHSA-2018:2151 web
- https://access.redhat.com/errata/RHSA-2018:2150 web
- https://access.redhat.com/errata/RHBA-2018:3788 web
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html web