CWE
74
Advisory Published
Advisory Published
Updated

CVE-2014-4678

First published: Thu Feb 20 2020(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
pip/ansible<1.6.4
1.6.4
Redhat Ansible<1.6.4
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
debian/ansible
2.10.7+merged+base+2.10.17+dfsg-0+deb11u1
7.7.0+dfsg-3+deb12u1
10.1.0+dfsg-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2014-4678?

    CVE-2014-4678 is a vulnerability in the safe_eval function in Ansible before version 1.6.4 that allows remote attackers to execute arbitrary code through crafted instructions.

  • How severe is CVE-2014-4678?

    CVE-2014-4678 has a severity rating of 9.8 (critical).

  • Which software versions are affected by CVE-2014-4678?

    Ansible versions before 1.6.4 and some Debian versions (2.7.7+dfsg-1+deb10u1, 2.10.7+merged+base+2.10.8+dfsg-1, 7.3.0+dfsg-1, and 7.7.0+dfsg-1) are affected by CVE-2014-4678.

  • How can I fix CVE-2014-4678?

    To fix CVE-2014-4678, upgrade to Ansible version 1.6.4 or later. For Debian users, install the specific fixed versions mentioned in the vulnerability description.

  • Where can I find more information about CVE-2014-4678?

    You can find more information about CVE-2014-4678 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2014-4678), [GitHub Commit](https://github.com/ansible/ansible/commit/5429b85b9f6c2e640074176f36ff05fd5e4d1916), [Google Groups](https://groups.google.com/forum/message/raw?msg=ansible-announce/ieV1vZvcTXU/5Q93ThkY9rIJ).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203