{"schema_version":"1.7.3","id":"GHSA-fc4h-467w-46rh","published":"2022-05-13T01:07:35Z","modified":"2024-09-05T00:55:46.930897Z","aliases":["CVE-2018-10875","PYSEC-2018-43"],"summary":"Ansible Arbitrary Code Execution","details":"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":[{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.6.0"}]}],"versions":["1.0","1.1","1.2","1.2.1","1.2.2","1.2.3","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.6","1.6.1","1.6.10","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.7","1.7.1","1.7.2","1.8","1.8.1","1.8.2","1.8.3","1.8.4","1.9.0","1.9.0.1","1.9.1","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","2.0.0","2.0.0.0","2.0.0.1","2.0.0.2","2.0.1.0","2.0.2.0","2.1.0.0","2.1.1.0","2.1.2.0","2.1.3.0","2.1.4.0","2.1.5.0","2.1.6.0","2.2.0.0","2.2.1.0","2.2.2.0","2.2.3.0","2.3.0.0","2.3.1.0","2.3.2.0","2.3.3.0","2.4.0.0","2.4.1.0","2.4.2.0","2.4.3.0","2.4.4.0","2.4.5.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fc4h-467w-46rh/GHSA-fc4h-467w-46rh.json"}},{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0a1"},{"fixed":"2.5.6"}]}],"versions":["2.5.0","2.5.0a1","2.5.0b1","2.5.0b2","2.5.0rc1","2.5.0rc2","2.5.0rc3","2.5.1","2.5.2","2.5.3","2.5.4","2.5.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fc4h-467w-46rh/GHSA-fc4h-467w-46rh.json"}},{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0a1"},{"fixed":"2.6.1"}]}],"versions":["2.6.0","2.6.0a1","2.6.0a2","2.6.0rc1","2.6.0rc2","2.6.0rc3","2.6.0rc4","2.6.0rc5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fc4h-467w-46rh/GHSA-fc4h-467w-46rh.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10875"},{"type":"WEB","url":"https://github.com/ansible/ansible/issues/42388"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/43583"},{"type":"WEB","url":"https://github.com/ansible/ansible/pull/42070"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981"},{"type":"WEB","url":"https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172"},{"type":"WEB","url":"https://www.debian.org/security/2019/dsa-4396"},{"type":"WEB","url":"https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396"},{"type":"WEB","url":"https://usn.ubuntu.com/4072-1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2019:0054"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2585"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2321"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2166"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2152"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2151"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2018:2150"},{"type":"WEB","url":"https://access.redhat.com/errata/RHBA-2018:3788"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html"}],"database_specific":{"cwe_ids":["CWE-426"],"github_reviewed":true,"github_reviewed_at":"2024-04-22T22:09:48Z","nvd_published_at":"2018-07-13T22:29:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}