-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
- https://security.snyk.io/research/zip-slip-vulnerability
- https://github.com/snyk/zip-slip-vulnerability
How to fix? 🤔
- change
filter: NameFilter = AllPassFilterdefault param?io/io/src/main/scala/sbt/io/IO.scala
Lines 367 to 386 in c0e0023
def unzip( from: File, toDirectory: File, filter: NameFilter = AllPassFilter, preserveLastModified: Boolean = true ): Set[File] = fileInputStream(from)(in => unzipStream(in, toDirectory, filter, preserveLastModified)) def unzipURL( from: URL, toDirectory: File, filter: NameFilter = AllPassFilter, preserveLastModified: Boolean = true ): Set[File] = urlInputStream(from)(in => unzipStream(in, toDirectory, filter, preserveLastModified)) def unzipStream( from: InputStream, toDirectory: File, filter: NameFilter = AllPassFilter,
- add explicit
filterparam in user code? - another solutions?
Metadata
Metadata
Assignees
Labels
No labels