You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2021/11/10 08:25:00 UTC

[jira] [Created] (SPARK-37266) Optimize the analysis for view text of persist view and fix security vulnerabilities caused by sql tampering

jiaan.geng created SPARK-37266:
----------------------------------

             Summary: Optimize the analysis for view text of persist view and fix security vulnerabilities caused by sql tampering 
                 Key: SPARK-37266
                 URL: https://issues.apache.org/jira/browse/SPARK-37266
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: jiaan.geng


The current implementation of persist view is create hive table with view text.
The view text is just a query string, so the hackers may tamper with it through various means.
Such as:
{code:java}
select * from tab1
{code}
 tampered with
 
{code:java}
drop table tab1
{code}




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org