Back
CVE-2014-4678
CRITICAL
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.
Published: Feb 20, 2020
Modified: Jun 17, 2026
CWE-74
CVSS Metrics
CVSSv3
Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Products (4)
| Vendor | Product | Version |
|---|---|---|
| redhat | ansible | * < 1.6.4 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
GitHub Security Advisory GHSA-66c7-5pwv-mm3j
Ansible Code Injection Vulnerability
pip
ansible
< 1.6.4
Fixed: 1.6.4
References (14)
- https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916 Patch, Third Party Advisory
- 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 Mailing List, Patch, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2014/07/02/2 Mailing List, Patch, Third Party Advisory
- https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5 Third Party Advisory
- https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678 Third Party Advisory
- https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916 Patch, Third Party Advisory
- 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 Mailing List, Patch, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2014/07/02/2 Mailing List, Patch, Third Party Advisory
- https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5 Third Party Advisory
- https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678 Third Party Advisory
Risk Scores
CVSS Score
9.8 / 10
EPSS Score
5.24%
Top 8% most likely to be exploited
Threat Score
40.8 / 100
Data Sources
NVD
EPSS
GitHub