CVE-2014-4678
CRITICAL 9.8CVSS 3.1Ansible Code Injection 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.
- Published
- 20 Feb 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-66c7-5pwv-mm3jPYSEC-2020-203
- Sources
- NVDJSONOSV GHSA-66c7-5pwv-mm3jJSONOSV PYSEC-2020-203JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
< 1.6.4 | 1.6.4 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | PyPI | ansible | < 1.6.4 | 1.6.4 |
References
- https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916 · Patch, Third Party Advisory, WEB, FIX
- https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ · Third Party Advisory, WEB
- https://security-tracker.debian.org/tracker/CVE-2014-4678 · Third Party Advisory, WEB
- https://www.openwall.com/lists/oss-security/2014/06/26/30 · Mailing List, Patch, Third Party Advisory, WEB
- https://www.openwall.com/lists/oss-security/2014/07/02/2 · Mailing List, Patch, Third Party Advisory, WEB
- https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5 · Third Party Advisory, WEB
- https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-4678 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-203.yaml · WEB
- https://github.com/advisories/GHSA-66c7-5pwv-mm3j · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 20 Feb 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Feb 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 May 2022)