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.
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Link | Tags |
---|---|
https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916 | third party advisory patch |
https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ | third party advisory |
https://security-tracker.debian.org/tracker/CVE-2014-4678 | third party advisory |
https://www.openwall.com/lists/oss-security/2014/06/26/30 | patch mailing list third party advisory |
https://www.openwall.com/lists/oss-security/2014/07/02/2 | patch mailing list third party advisory |
https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678 | third party advisory |
https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5 | third party advisory |