CVE-2014-4678
Ansible vulnerability analysis and mitigation

Overview

CVE-2014-4678 affects the safe_eval function in Ansible versions before 1.6.4. This vulnerability was discovered as an incomplete fix for a previous issue (CVE-2014-4657) and was disclosed in June 2014 (OSS Security).

Technical details

The vulnerability exists in the safe_eval function which does not properly restrict the code subset, allowing potential code execution beyond intended limitations. The issue has a CVSS v3.1 Base Score of 9.8 (CRITICAL) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating a severe security risk (NVD).

Impact

The vulnerability allows remote attackers to execute arbitrary code via crafted instructions, potentially leading to complete system compromise. The high CVSS score reflects the critical nature of this vulnerability, with potential impacts on system confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

The vulnerability was fixed in Ansible version 1.6.4 through a patch that implements a strict whitelist approach for the safe_eval function (GitHub Patch). Users should upgrade to version 1.6.4 or later to mitigate this vulnerability.

Additional resources


SourceThis report was generated using AI

Related Ansible vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-1313MEDIUM6.5
  • GrafanaGrafana
  • golang-github-prometheus-promu
NoYesMar 26, 2024
CVE-2024-9902MEDIUM6.3
  • AnsibleAnsible
  • ansible-test
NoYesNov 06, 2024
CVE-2025-14010MEDIUM5.5
  • AnsibleAnsible
  • ansible
NoYesDec 04, 2025
CVE-2024-11079MEDIUM5.5
  • AnsibleAnsible
  • py3-ansible-core
NoYesNov 12, 2024
CVE-2024-8775MEDIUM5.5
  • AnsibleAnsible
  • ansible
NoYesSep 14, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management