Vulnerabilities · 2014 · Redhat
CVE-2014-4678
Redhat Ansible vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ansible, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redhat Ansible runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916 · Patch
- www.openwall.com/lists/oss-security/2014/06/26/30 · Patch
- www.openwall.com/lists/oss-security/2014/07/02/2 · Patch
- groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ · Third Party Advisory
- security-tracker.debian.org/tracker/CVE-2014-4678 · Third Party Advisory
- www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5 · Third Party Advisory
- www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2014-4678
- nvd.nist.gov/vuln/detail/CVE-2014-4678
- cve.org/CVERecord?id=CVE-2014-4678
More vulnerabilities in Redhat products
CVE-2025-53862CVE-2025-53861CVE-2025-47711CVE-2025-46400CVE-2025-46399CVE-2025-46398CVE-2025-46397CVE-2025-35036All 5,277
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.