{"id":"UBUNTU-CVE-2014-4678","details":"The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.","modified":"2025-10-14T16:46:08Z","published":"2020-02-20T03:15:00Z","upstream":["CVE-2014-4678"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-4678"},{"type":"REPORT","url":"https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-4678"}],"affected":[{"package":{"name":"ansible","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/ansible@1.5.4+dfsg-1ubuntu0.1~esm2?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.4+dfsg-1ubuntu0.1~esm2"}]}],"versions":["1.1+dfsg-1","1.3.4+dfsg-1","1.4.0+dfsg-1","1.4.1+dfsg-1","1.4.3+dfsg-1","1.4.4+dfsg-1","1.5.4+dfsg-1","1.5.4+dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"ansible","binary_version":"1.5.4+dfsg-1ubuntu0.1~esm2"},{"binary_name":"ansible-fireball","binary_version":"1.5.4+dfsg-1ubuntu0.1~esm2"},{"binary_name":"ansible-node-fireball","binary_version":"1.5.4+dfsg-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-4678.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}