CVE-2014-4678
Ansible Code Injection Vulnerability
Reported by redhat · Published February 20, 2020
ansible is fixed in 5429b85b9f6c2e640074176f36ff05fd5e4d1916 and 1.6.4 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansible | PyPI | 5429b85b9f6c2e640074176f36ff05fd5e4d1916, 1.6.4 |
| ansible | redhat | 1.6.4 |
| ansible | Ubuntu:Pro:14.04:LTS | 1.5.4+dfsg-1ubuntu0.1~esm2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Ansible | before 1.6.4 |
| PyPI | ansible | 0 |
| n/a | Ansible | 1.6.4 |
Timeline
- Feb 20, 2020 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 10, 2026 Security Advisory
- Oct 19, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2014-4678
vulnetix vdb fixes CVE-2014-4678
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-4678/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2014-4678 advisory
- https://github.com/advisories/GHSA-66c7-5pwv-mm3j advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-203.yaml advisory