{"id":"UBUNTU-CVE-2018-10874","details":"In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.","modified":"2026-01-30T02:49:20.839738Z","published":"2018-07-02T00:00:00Z","related":["USN-4072-1"],"upstream":["CVE-2018-10874"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-10874"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1596528"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4072-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-10874"}],"affected":[{"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_name":"ansible","binary_version":"2.5.1+dfsg-1ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10874.json"}}],"schema_version":"1.7.3","severity":[{"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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}