CVE-2014-4678Redhat Ansible
Critical 9.8 No auth needed
Follow: this CVE · Redhat · Redhat Ansible We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 5.3% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Feb 20, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ansible.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ansible |
< 1.6.4 |
1.6.4 |
pip install "ansible>=1.6.4" |
| PyPI | ansible |
< 1.6.4 |
1.6.4 |
pip install "ansible>=1.6.4" |
Per OSV / GitHub Advisories (GHSA-66c7-5pwv-mm3j, PYSEC-2020-203). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redhat | ansible | < 1.6.4 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- groups.google.com Third Party Advisory
- security-tracker.debian.org Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.rapid7.com Third Party Advisory
- www.rapid7.com Third Party Advisory