{"id":"UBUNTU-CVE-2018-10875","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.","modified":"2026-02-04T03:24:28.163633Z","published":"2018-07-13T00:00:00Z","related":["USN-4072-1"],"upstream":["CVE-2018-10875"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-10875"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1596533"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4072-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-10875"}],"affected":[{"package":{"name":"ansible","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ansible@2.0.0.2-2ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0.2-2ubuntu1.3"}]}],"versions":["1.9.2+dfsg-2","1.9.4-1","2.0.0.2-2","2.0.0.2-2ubuntu1","2.0.0.2-2ubuntu1.1","2.0.0.2-2ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0.2-2ubuntu1.3","binary_name":"ansible"},{"binary_version":"2.0.0.2-2ubuntu1.3","binary_name":"ansible-fireball"},{"binary_version":"2.0.0.2-2ubuntu1.3","binary_name":"ansible-node-fireball"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10875.json"}},{"package":{"name":"ansible","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ansible@2.5.1+dfsg-1ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1+dfsg-1ubuntu0.1"}]}],"versions":["2.3.1.0+dfsg-2","2.5.0+dfsg-1","2.5.1+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.1+dfsg-1ubuntu0.1","binary_name":"ansible"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10875.json"}}],"schema_version":"1.7.3","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_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}