Fixed in 1.7.0:
CVE-2016-0760: Hive builtin functions “reflect”, “reflect2”, and
“java_method” are not blocked in Apache Sentry
Severity: Very Important
The Apache Software Foundation
Sentry 1.5.1 and 1.6.0
Some functions in Hive which allow arbitrary code to be executed are
not blacklisted properly in some versions of Sentry, which would allow authenticated
users to potentially use these functions for malicious purposes.
Upgrade to 1.7.0 (or)
functions in the hive configuration by setting the property
"hive.server2.builtin.udf.blacklist" to "reflect,reflect2,java_method"
This issue was discovered by Ryan Pridgeon of Cloudera.