Improper validation of the file_path argument in t_go_generator.cc:format_go_output() of the Apache Thrift Go client library can allow an attacker to execute arbitrary commands. The file_path parameter is derived from the service name. If an attacker can provide a service name to a framework invoking Thrift, the attacker could craft the name in a way leading to arbitrary commands being executed. This affects versions before Apache Thrift 0.10.0. Upstream Advisory: http://mail-archives.apache.org/mod_mbox/thrift-user/201701.mbox/%3CCANyrgvc3W%3DMJ9S-hMZecPNzxkyfgNmuSgVfW2hdDSz5ke%2BOPhQ%40mail.gmail.com%3E Upstream Issue: https://issues.apache.org/jira/browse/THRIFT-3893 Upstream Commit: https://github.com/apache/thrift/commit/2007783e874d524a46b818598a45078448ecc53e
Created thrift tracking bugs for this issue: Affects: epel-all [bug 1544621]
Marking openshift-enterprise-3 and openshift-1 as not affected. Thrift is available in the rhel-7-server-ose-3.{4-5}-rpms repository, as a dependency of python-elasticsearch. The python-elasticsearch rpm includes Elasticsearch 2.3.0-1. However the elasticsearch hasn't ben required by the thrift libraries since version 1.8.0. This issue was created to track removal of python-thrift dependency from python-elasticsearch rpm: https://bugzilla.redhat.com/show_bug.cgi?id=1560778
Marking JON-3 as not affected as the Thrift API's has never been used in Cassandra(Shipped with JON) and hence the Thrift server is disabled.
Statement: libthrift is a library used by OpenDaylight which is shipped with Red Hat OpenStack. Whilst the version of the library used contains the vulnerable code it is not used by OpenDaylight and hence not exposed. JBoss fuse 6.3 ships libthrift via insight-activemq fabric-8 profile, however the vulnerable code is not used by fabric-8 so fuse 6.3 is not affected.
This issue has been addressed in the following products: Red Hat JBoss Fuse Via RHSA-2018:2669 https://access.redhat.com/errata/RHSA-2018:2669
This issue has been addressed in the following products: Red Hat JBoss Data Virtualization 6.4.8 Via RHSA-2019:3140 https://access.redhat.com/errata/RHSA-2019:3140