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

ASF subversion and git services commented on KYLIN-6120:
--------------------------------------------------------

Commit 7140baa80bb69eb06b70bedae2a28692ac541f92 in kylin's branch 
refs/heads/kylin5 from Li Yang
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=7140baa80b ]

KYLIN-6120 harden streaming job termination


> Potential command execution issue in streaming job termination
> --------------------------------------------------------------
>
>                 Key: KYLIN-6120
>                 URL: https://issues.apache.org/jira/browse/KYLIN-6120
>             Project: Kylin
>          Issue Type: Bug
>          Components: NRT Streaming
>    Affects Versions: 5.0.5
>            Reporter: Yangliang Li
>            Assignee: liyang
>            Priority: Major
>             Fix For: 5.0.6
>
>
> Streaming job identifiers supplied through the model API are not validated 
> before they are used to construct a process lookup command during forced 
> termination. A user with ordinary project roles can potentially execute 
> operating-system commands with the Kylin service account.
> Fix direction: avoid invoking a shell for process discovery and termination; 
> pass validated identifiers as individual arguments and reject non-canonical 
> model UUIDs at the API boundary.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to