GitHub Advisoryadvisory · PyPI
GHSA-66c7-5pwv-mm3j Ansible Code Injection Vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2014-4678
- Ecosystem
- PyPI
- Packages
- ansible
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-74
- Reviewed
- 2023-08-15
Affected packages
• PyPI ansible: < 1.6.4 → fixed in 1.6.4
Description
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.
Related
Alias · CVE (1)
- CVE-2014-4678 The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute… vulnerability
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-4678 advisory
- https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916 web
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-203.yaml web
- https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ web
- https://security-tracker.debian.org/tracker/CVE-2014-4678 web
- https://www.openwall.com/lists/oss-security/2014/06/26/30 web
- https://www.openwall.com/lists/oss-security/2014/07/02/2 web
- https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5 web
- https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678 web