VulnerabilityModified
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 arbitrary code via crafted instructions.
CRITICAL 9.8EPSS 5.24%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.24%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 5.24% probability · 92th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- redhat/ansible · debian/debian linux
- Source
- secalert@redhat.com
References
- https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916Patch, Third Party Advisory
- https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJThird Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2014-4678Third Party Advisory
- https://www.openwall.com/lists/oss-security/2014/06/26/30Mailing List, Patch, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2014/07/02/2Mailing List, Patch, Third Party Advisory
- https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5Third Party Advisory
- https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678Third Party Advisory
- https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916Patch, Third Party Advisory
- https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJThird Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2014-4678Third Party Advisory
- https://www.openwall.com/lists/oss-security/2014/06/26/30Mailing List, Patch, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2014/07/02/2Mailing List, Patch, Third Party Advisory
- https://www.rapid7.com/db/vulnerabilities/freebsd-vid-2c493ac8-205e-11e5-a4a5-002590263bf5Third Party Advisory
- https://www.rapid7.com/db/vulnerabilities/gentoo-linux-cve-2014-4678Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.