You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "github-code-scanning[bot] (via GitHub)" <gi...@apache.org> on 2023/05/17 23:24:32 UTC

[GitHub] [druid] github-code-scanning[bot] commented on a diff in pull request #14307: Account for data format and compression in MSQ auto taskAssignment

github-code-scanning[bot] commented on code in PR #14307:
URL: https://github.com/apache/druid/pull/14307#discussion_r1197158148


##########
processing/src/main/java/org/apache/druid/utils/CompressionUtils.java:
##########
@@ -198,7 +240,7 @@
         throw Throwables.propagate(e);
       }
     } else {
-      final File tmpFile = File.createTempFile("compressionUtilZipCache", ZIP_SUFFIX);
+      final File tmpFile = File.createTempFile("compressionUtilZipCache", Format.ZIP.getSuffix());

Review Comment:
   ## Local information disclosure in a temporary directory
   
   Local information disclosure vulnerability due to use of file readable by other local users.
   
   [Show more details](https://github.com/apache/druid/security/code-scanning/4973)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org