[ 
https://issues.apache.org/jira/browse/IMPALA-15218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18110143#comment-18110143
 ] 

ASF subversion and git services commented on IMPALA-15218:
----------------------------------------------------------

Commit 18dfa675719a2f2c086596be64ffc41b1a5b3463 in impala's branch 
refs/heads/branch-4.5.2 from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=18dfa6757 ]

IMPALA-15218: Add trusted_jar_paths for data sources

Adds allowlist `trusted_jar_paths` to identify a safe location for
loading jars for DATA SOURCES and JDBC tables.

Loading arbitrary jars allows code execution, and CREATE TABLE
permissions need to be granted to people separate from the ability to
load any jar. Table properties are difficult to authorize correctly, so
an allowlist is added to put limits on what jars can be loaded into
memory.

To restore prior behavior, specify `trusted_jar_paths` on impalad
startup flags as a comma-separated list of location prefixes for known
JDBC driver jars, such as
`/test-warehouse/data-sources/,hdfs://test-warehouse/data-sources/`.

Also fixes an SQL injection issue and avoids printing dbcp.password in
WARNING logs.

Assisted-by: Claude Sonnet 4.6 (VSCode)
Change-Id: I0bf53fb5eff545d5584ca120e362fd01a2086be1
Reviewed-on: http://gerrit.cloudera.org:8080/24771
Reviewed-by: Joe McDonnell <[email protected]>
Tested-by: Michael Smith <[email protected]>


> Test 3
> ------
>
>                 Key: IMPALA-15218
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15218
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Michael Smith
>            Assignee: Michael Smith
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to