The Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands via a crafted script.
https://www.elastic.co/community/security/
https://exchange.xforce.ibmcloud.com/vulnerabilities/100850
https://access.redhat.com/errata/RHSA-2017:0868
http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/