Bug 1831263 (CVE-2014-4657) - CVE-2014-4657 ansible: improper restriction of code subset allows remote arbitrary code execution via crafted instructions
Summary: CVE-2014-4657 ansible: improper restriction of code subset allows remote arbi...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2014-4657
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1831264 1831265
Blocks: 1831266
TreeView+ depends on / blocked
 
Reported: 2020-05-04 18:48 UTC by msiddiqu
Modified: 2021-02-16 20:07 UTC (History)
39 users (show)

Fixed In Version: ansible-core 1.5.5
Clone Of:
Environment:
Last Closed: 2020-05-05 22:31:58 UTC
Embargoed:


Attachments (Terms of Use)

Description msiddiqu 2020-05-04 18:48:32 UTC
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.

References:

https://github.com/ansible/ansible/blob/release1.5.5/CHANGELOG.md
https://www.securityfocus.com/bid/68232

Comment 1 msiddiqu 2020-05-04 18:49:20 UTC
Created ansible tracking bugs for this issue:

Affects: epel-all [bug 1831265]
Affects: fedora-all [bug 1831264]

Comment 2 Yadnyawalk Tale 2020-05-05 06:46:51 UTC
Red Hat CloudForms 5.10 (4.7) and 5.11 (5.0) do not ship `ansible` package, it is provided by the official Ansible repository.

Comment 3 Borja Tarraso 2020-05-05 07:30:36 UTC
This is a bug for Ansible 1.5.4 and previous versions, really old, and fixed on 1.5.5 and after long time ago, when it was Ansible Core. Currently we support 2.9.x, 2.8.x, and 2.7.x. and from 2.4 it is called Ansible Engine. So Ansible in all supported current versions is not affected.

Comment 4 Hardik Vyas 2020-05-05 08:58:31 UTC
Red Hat Ceph Storage and Red Hat Gluster Storage shipped ansible versions 2.4.1 and 2.3.2 respectively, which already contains the fix and hence not affected by this vulnerability.

Comment 7 Product Security DevOps Team 2020-05-05 22:31:58 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2014-4657


Note You need to log in before you can comment on or make changes to this bug.