CVE-2014-4657
CRITICAL 9.8CVSS 3.1Ansible Remote Code Execution
The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.
- Published
- 20 Feb 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-qg47-5px9-32g7PYSEC-2020-199
- Sources
- NVDJSONOSV GHSA-qg47-5px9-32g7JSONOSV PYSEC-2020-199JSON
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.5.4 | 1.5.4 |
| OSV | PyPI | ansible | < 1.5.4 | 1.5.4 |
References
- https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md · Release Notes, WEB
- https://www.securityfocus.com/bid/68232 · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-4657 · ADVISORY
- https://github.com/ansible/ansible/commit/998793fd0ab55705d57527a38cee5e83f535974c · WEB
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-199.yaml · WEB
- https://web.archive.org/web/20210120133852/https://www.securityfocus.com/bid/68232 · WEB
- https://github.com/advisories/GHSA-qg47-5px9-32g7 · 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:12 UTC · OSV: first stored (published 17 May 2022)