You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2022/03/23 03:54:00 UTC
[jira] [Created] (SPARK-38631) Arbitrary shell command injection via Utils.unpack()
Hyukjin Kwon created SPARK-38631:
------------------------------------
Summary: Arbitrary shell command injection via Utils.unpack()
Key: SPARK-38631
URL: https://issues.apache.org/jira/browse/SPARK-38631
Project: Spark
Issue Type: Bug
Components: Spark Core
Affects Versions: 3.2.1, 3.1.2, 3.3.0
Reporter: Hyukjin Kwon
There is a risk for arbitrary shell command injection via {{Utils.unpack}} when the filename is controlled by a malicious user. This is due to an issue in Hadoop's {{unTar}}, that is not properly escaping the filename before passing to a shell command:https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java#L904
--
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